Migrate code from Go branch to new repo

This commit is contained in:
Maddie Zhan
2020-06-02 17:47:39 +08:00
commit fad1302a73
40 changed files with 14952 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package main
import (
"github.com/librespeed/speedtest/config"
"github.com/librespeed/speedtest/database"
"github.com/librespeed/speedtest/web"
log "github.com/sirupsen/logrus"
)
func main() {
conf := config.Load()
database.SetDBInfo(&conf)
log.Fatal(web.ListenAndServe(&conf))
}