mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 08:25:14 +00:00
15 lines
250 B
Go
15 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()
|
|
}
|