2022-02-10 22:06:57 +00:00
|
|
|
//go:build !change
|
2020-03-19 21:57:07 +00:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"flag"
|
|
|
|
|
2020-03-19 22:00:46 +00:00
|
|
|
"gitlab.com/slon/shad-go/coverme/app"
|
|
|
|
"gitlab.com/slon/shad-go/coverme/models"
|
2020-03-19 21:57:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
port := flag.Int("port", 8080, "port to listen")
|
|
|
|
flag.Parse()
|
|
|
|
|
|
|
|
db := models.NewInMemoryStorage()
|
|
|
|
app.New(db).Start(*port)
|
|
|
|
}
|