shad-go/coverme/main.go
2022-03-15 23:49:56 +03:00

18 lines
278 B
Go

//go:build !change
package main
import (
"flag"
"gitlab.com/slon/shad-go/coverme/app"
"gitlab.com/slon/shad-go/coverme/models"
)
func main() {
port := flag.Int("port", 8080, "port to listen")
flag.Parse()
db := models.NewInMemoryStorage()
app.New(db).Start(*port)
}