DDD (Domain Design) partially implemented, added comments everywhere.
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/pztrn/fastpastebin/context"
|
||||
"github.com/pztrn/fastpastebin/database"
|
||||
"github.com/pztrn/fastpastebin/database/migrations"
|
||||
"github.com/pztrn/fastpastebin/pastes"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -34,6 +35,8 @@ func main() {
|
||||
api.New(c)
|
||||
api.InitializeAPI()
|
||||
|
||||
pastes.New(c)
|
||||
|
||||
// CTRL+C handler.
|
||||
signalHandler := make(chan os.Signal, 1)
|
||||
shutdownDone := make(chan bool, 1)
|
||||
|
Reference in New Issue
Block a user