shad-go/coverme/main.go
2023-10-03 20:25:41 +03:00

18 lines
300 B
Go

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