GoScrobble/cmd/go-scrobble/main.go

15 lines
253 B
Go
Raw Normal View History

2021-03-23 08:43:44 +00:00
package main
import (
"git.m2.nz/go-scrobble/internal/goscrobble"
)
func main() {
2021-03-24 03:29:35 +00:00
// // Boot up DB connection for life of application
2021-03-24 09:28:05 +00:00
goscrobble.InitDb()
defer goscrobble.CloseDbConn()
2021-03-23 08:43:44 +00:00
// Boot up API webserver \o/
goscrobble.HandleRequests()
}