2016-02-23 14:41:35 -09:00
|
|
|
package main
|
|
|
|
|
|
2021-02-01 12:30:06 -09:00
|
|
|
import (
|
2023-03-15 09:10:14 -08:00
|
|
|
_ "net/http/pprof" //nolint:gosec
|
2021-02-01 12:30:06 -09:00
|
|
|
|
|
|
|
|
"github.com/navidrome/navidrome/cmd"
|
2024-10-26 09:28:23 -08:00
|
|
|
"github.com/navidrome/navidrome/conf/buildtags"
|
2021-02-01 12:30:06 -09:00
|
|
|
)
|
2016-02-23 14:41:35 -09:00
|
|
|
|
2024-10-26 09:28:23 -08:00
|
|
|
//goland:noinspection GoBoolExpressions
|
2016-02-23 14:41:35 -09:00
|
|
|
func main() {
|
2024-10-26 09:28:23 -08:00
|
|
|
// 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
|
|
|
}
|