This commit is contained in:
sentriz
2019-06-05 16:03:01 +01:00
parent cc43c93610
commit 406b133713
44 changed files with 804 additions and 718 deletions

View File

@@ -14,7 +14,6 @@ import (
const (
programName = "gonic"
programVar = "GONIC"
)
func main() {

View File

@@ -52,6 +52,8 @@ func main() {
*musicPath,
*listenAddr,
)
s.SetupAdmin()
s.SetupSubsonic()
log.Printf("starting server at %s", *listenAddr)
if err := s.ListenAndServe(); err != nil {
log.Fatalf("error starting server: %v\n", err)