Versions in this module Expand all Collapse all v0 v0.0.2 Mar 10, 2020 v0.0.1 Mar 8, 2020 Changes in this version + type Config struct + DB *gorm.DB + type Context struct + Config *Config + CurrentUser CurrentUser + DB *gorm.DB + Request *http.Request + ResourceID string + Roles []string + Writer http.ResponseWriter + func (context *Context) Clone() *Context + func (context *Context) GetDB() *gorm.DB + func (context *Context) SetDB(db *gorm.DB) + type CurrentUser interface + DisplayName func() string + type Errors struct + func (errs *Errors) AddError(errors ...error) + func (errs Errors) Error() string + func (errs Errors) GetErrors() []error + func (errs Errors) HasError() bool