18 lines
278 B
Go
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)
|
|
}
|