You've already forked speedtest-go
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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user