14 lines
186 B
Go
14 lines
186 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
_ "github.com/mattn/go-sqlite3"
|
|
)
|
|
|
|
func main() {
|
|
SetupNtfyClient()
|
|
db := SetupDatabase()
|
|
hnd := &Handler{db}
|
|
http.ListenAndServe(":8000", hnd)
|
|
}
|