Embed tzdata and rootcerts in binary

For use in environments without tzdata or root certs (like embedded devices)

Fixes #29
This commit is contained in:
Maddie Zhan
2021-09-18 01:58:35 +08:00
parent 8c1aa6b39b
commit 800760054e
3 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -2,13 +2,15 @@ package main
import (
"flag"
log "github.com/sirupsen/logrus"
_ "time/tzdata"
"github.com/librespeed/speedtest/config"
"github.com/librespeed/speedtest/database"
"github.com/librespeed/speedtest/results"
"github.com/librespeed/speedtest/web"
_ "github.com/breml/rootcerts"
log "github.com/sirupsen/logrus"
)
var (