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