mirror of
https://github.com/idanoo/GoScrobble
synced 2025-06-30 21:22:18 +00:00
14 lines
250 B
Go
14 lines
250 B
Go
package main
|
|
|
|
import (
|
|
"git.m2.nz/go-scrobble/internal/goscrobble"
|
|
)
|
|
|
|
func main() {
|
|
// Boot up DB connection for life of application
|
|
goscrobble.InitDb()
|
|
defer goscrobble.CloseDbConn()
|
|
|
|
// Boot up API webserver \o/
|
|
goscrobble.HandleRequests()
|
|
}
|