mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 15:30:05 +00:00
21 lines
211 B
Go
21 lines
211 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/joho/godotenv"
|
|
)
|
|
|
|
func main() {
|
|
|
|
if ok := godotenv.Load(); ok != nil {
|
|
panic(".env not found")
|
|
}
|
|
|
|
InitDB()
|
|
err := run()
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
}
|
|
}
|