shad-go/coverme/main.go
Sergey Paramoshkin dc939b6ed1
update repo
2023-10-02 22:32:41 +03:00

18 lines
302 B
Go

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