quintodrome/main.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
579 B
Go
Raw Normal View History

2016-02-23 14:41:35 -09:00
package main
import (
2023-03-15 09:10:14 -08:00
_ "net/http/pprof" //nolint:gosec
"github.com/navidrome/navidrome/cmd"
"github.com/navidrome/navidrome/conf/buildtags"
)
2016-02-23 14:41:35 -09:00
//goland:noinspection GoBoolExpressions
2016-02-23 14:41:35 -09:00
func main() {
// This import is used to force the inclusion of the `netgo` tag when compiling the project.
// If you get compilation errors like "undefined: buildtags.NETGO", this means you forgot to specify
// the `netgo` build tag when compiling the project.
// To avoid these kind of errors, you should use `make build` to compile the project.
_ = buildtags.NETGO
2020-07-02 12:34:21 -08:00
cmd.Execute()
2016-02-23 14:41:35 -09:00
}