diff --git a/cmd/camp/main.go b/cmd/camp/main.go index 8c02566..15e1260 100644 --- a/cmd/camp/main.go +++ b/cmd/camp/main.go @@ -20,6 +20,8 @@ func main() { log.Fatal(err) } + // this is the implementation of graceful shutdown + contactRepository := contact.NewRepository(db) contactHandler := contact.NewHandler(contactRepository)