slumber
slumber copied to clipboard
A complete REST API server written in golang / go
Every exported function in a program should have a doc comment. The first sentence should be a summary that starts with the name being declared. From [effective go](https://golang.org/doc/effective_go.html#commentary). I generated...
Hello. Apparently, the code fail to compile : ``` ~ > go get github.com/sogko/slumber github.com/sogko/slumber-sessions Go/src/github.com/sogko/slumber-sessions/token_authority.go:47: cannot use map[string]interface {} literal (type map[string]interface {}) as type jwt.Claims in assignment: map[string]interface...
The Architecture Image wasn't being displayed.
Tutorial
It would be great if you could write tutorial on how did you make this :)
With its form of usage of Gorilla Mux, can you suggest if slumber instance has to be made to support CORS to allow all origin requests, then what must be...
`MacBook-Pro:~ thiago$ go get github.com/grsouza/slumber # github.com/grsouza/slumber projects/go/src/github.com/grsouza/slumber/main.go:59: cannot use db (type *mongodb.MongoDB) as type "github.com/sogko/slumber/domain".IDatabase in field value: *mongodb.MongoDB does not implement "github.com/sogko/slumber/domain".IDatabase (wrong type for Count method) have...
I have made the code migration specified in the latest release of jwt-go dependency. [See Migration Guide](https://github.com/dgrijalva/jwt-go/blob/master/MIGRATION_GUIDE.md) ### Important For properly working, you must also make the changes on the...
Hi, I'm getting the following errors when running the tests with `ginkgo -r --randomizeAllSpecs -p -nodes=4`. I took a look on the code, but I wasn't able to figure out...
# github.com/sogko/slumber-sessions sogko/slumber-sessions/token_authority.go:47: cannot use map[string]interface {} literal (type map[string]interface {}) as type jwt.Claims in assignment: map[string]interface {} does not implement jwt.Claims (missing Valid method) sogko/slumber-sessions/token_authority.go:67: invalid operation: token.Token.Claims["userId"](type jwt.Claims...
github.com/sogko/slumber-sessions ../slumber-sessions/token_authority.go:47: cannot use map[string]interface {} literal (type map[string]interface {}) as type jwt.Claims in assignment: map[string]interface {} does not implement jwt.Claims (missing Valid method) ../slumber-sessions/token_authority.go:67: invalid operation: token.Token.Claims["userId"](type jwt.Claims does...