Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2019 Changes in this version + func GetAndSetID(req *http.Request, s *scope.Scope) (prim interface{}, err error) + func GetID(query *url.URL, mStruct *models.ModelStruct) (id string, err error) + type JSONAPI struct + Config *config.Builder + I18n *i18n.Support + func NewJSONAPI(c *controller.Controller, cfg *config.Builder, i18nSupport *i18n.Support) *JSONAPI + func (b *JSONAPI) BuildRawFilter(s *scope.Scope, raw string, values ...interface{}) (fField *filters.FilterField, err error) + func (b *JSONAPI) BuildScopeMany(ctx context.Context, model interface{}, query *url.URL, ...) (s *scope.Scope, errs []*aerrors.ApiError, err error) + func (b *JSONAPI) BuildScopeRelated(ctx context.Context, model interface{}, query *url.URL, ...) (s *scope.Scope, errs []*aerrors.ApiError, err error) + func (b *JSONAPI) BuildScopeRelationship(ctx context.Context, model interface{}, query *url.URL, ...) (s *scope.Scope, errs []*aerrors.ApiError, err error) + func (b *JSONAPI) BuildScopeSingle(ctx context.Context, model interface{}, query *url.URL, id interface{}, ...) (s *scope.Scope, errs []*aerrors.ApiError, err error) + func (b *JSONAPI) NewRootScope(mStruct *models.ModelStruct) *scope.Scope + func (b *JSONAPI) NewScope(model interface{}) (*scope.Scope, error)