Documentation ¶
Index ¶
Constants ¶
View Source
const CRUD_CREATE = "create"
View Source
const CRUD_DELETE = "delete"
View Source
const CRUD_READ = "read"
View Source
const CRUD_UPDATE = "update"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRUD ¶
type CRUD struct { Routes []string `json:"routes"` IDGenerator func(data interface{}) string `json:"id_generator"` GetDocumentFrom string `json:"get_document_from"` GetUpdateSpecsFrom string `json:"get_update_specs_from"` GetIDFrom string `json:"get_id_from"` GetQueryFrom string `json:"get_query_from"` SetQueryResultsIn string `json:"set_query_results_in"` ReportFailuresIn string `json:"report_failures_in"` AbortOnError bool `json:"abort_on_error"` }
func CRUDDefault ¶
Click to show internal directories.
Click to hide internal directories.