Documentation
¶
Index ¶
- func All(db *gorm.DB, elem interface{}) func(w http.ResponseWriter, r *http.Request)
- func Delete(db *gorm.DB, new interface{}) func(w http.ResponseWriter, r *http.Request)
- func First(db *gorm.DB, elem interface{}) func(w http.ResponseWriter, r *http.Request)
- func Link(db *gorm.DB, root interface{}, op string) func(w http.ResponseWriter, r *http.Request)
- func Mapping(r *mux.Router, restBase string, db *gorm.DB, entitiy interface{}, ...)
- func Page(db *gorm.DB, elem interface{}) func(w http.ResponseWriter, r *http.Request)
- func Save(db *gorm.DB, new interface{}) func(w http.ResponseWriter, r *http.Request)
- type ErrorCrud
- type LinkStatusCrud
- type ValidateDelete
- type ValidateSave
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mapping ¶
https://tools.ietf.org/id/draft-snell-link-method-01.html#rfc.section.5 https://tools.ietf.org/html/draft-snell-link-method-12
Types ¶
type LinkStatusCrud ¶
type ValidateDelete ¶
ValidateDelete is
type ValidateSave ¶
ValidateSave is
Click to show internal directories.
Click to hide internal directories.