owl-blogs/main.go

16 lines
269 B
Go

package main
import (
"owl-blogs/app"
"owl-blogs/infra"
"owl-blogs/web"
)
func main() {
db := infra.NewSqliteDB("owlblogs.db")
repo := infra.NewEntryRepository(db)
entryService := app.NewEntryService(repo)
webApp := web.NewWebApp(entryService)
webApp.Run()
}