Pull request: all: fix lint and naming issues vol. 3
Merge in DNS/adguard-home from 2276-fix-lint-3 to master Updates #2276. Squashed commit of the following: commit 6ee94cc6ed2a9762b70ef395b58b496434244b80 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Dec 7 15:55:45 2020 +0300 all: fix lint and naming issues vol. 3
This commit is contained in:
13
main.go
13
main.go
@@ -7,15 +7,20 @@ import (
|
||||
"github.com/AdguardTeam/AdGuardHome/internal/home"
|
||||
)
|
||||
|
||||
// version will be set through ldflags, contains current version
|
||||
// version is the release version. It is set by the linker.
|
||||
var version = "undefined"
|
||||
|
||||
// channel can be set via ldflags
|
||||
// channel is the release channel. It is set by the linker.
|
||||
var channel = "release"
|
||||
|
||||
// GOARM value - set via ldflags
|
||||
// goarm is the GOARM value. It is set by the linker.
|
||||
var goarm = ""
|
||||
|
||||
// gomips is the GOMIPS value. It is set by the linker.
|
||||
//
|
||||
// TODO(a.garipov): Implement.
|
||||
var gomips = ""
|
||||
|
||||
func main() {
|
||||
home.Main(version, channel, goarm)
|
||||
home.Main(version, channel, goarm, gomips)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user