19 lines
296 B
Go
19 lines
296 B
Go
//go:build !change
|
|
// +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)
|
|
}
|