badguardhome/main.go

22 lines
376 B
Go
Raw Normal View History

package main
import (
"runtime/debug"
"github.com/AdguardTeam/AdGuardHome/home"
)
2019-06-20 11:36:26 +00:00
// version will be set through ldflags, contains current version
var version = "undefined"
// channel can be set via ldflags
var channel = "release"
// ARM version number. Set via linker flags.
var goarm = ""
func main() {
debug.SetGCPercent(10)
home.Main(version, channel, goarm)
}