AdGuardHome/main.go

19 lines
307 B
Go
Raw Normal View History

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