Implement all services in type Repository

This commit is contained in:
2016-12-20 20:46:25 +01:00
parent 04af4bce7e
commit 672376a55c
3 changed files with 17 additions and 14 deletions

View File

@ -22,7 +22,7 @@ func main() {
panic("Failed creating ID-Generator")
}
us := &postgres.UserService{DB: db, IDGenerator: id}
us := &postgres.Repository{DB: db, IDGenerator: id}
tv := &jwt.TokenVerifier{}
h := &http.Handler{