speed-tester/flag/flag.go

13 lines
225 B
Go

package flag
import "flag"
var (
Port = flag.Int("port", 9512, "port to serve the web-application")
DbPath = flag.String("db-path", "./speed-data.db", "the path to the SQLite database")
)
func init() {
flag.Parse()
}