mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 14:05:45 +03:00
21 lines
363 B
Go
21 lines
363 B
Go
package main
|
|
|
|
import (
|
|
"runtime/debug"
|
|
|
|
"github.com/AdguardTeam/AdGuardHome/home"
|
|
)
|
|
|
|
// version will be set through ldflags, contains current version
|
|
var version = "undefined"
|
|
|
|
// channel can be set via ldflags
|
|
var channel = "release"
|
|
|
|
// GOARM value - set via ldflags
|
|
var goarm = ""
|
|
|
|
func main() {
|
|
debug.SetGCPercent(10)
|
|
home.Main(version, channel, goarm)
|
|
}
|