package
0.0.0-20230910125232-9c070a028f62
Repository: https://github.com/tqrj/cd.git
Documentation: pkg.go.dev
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetRequestOptions is the query options (?opt=val) for GET requests:
limit=10&offset=4& # pagination order_by=id&desc=true& # ordering filter_by=name&filter_value=John& # filtering total=true& # return total count (all available records under the filter, ignoring pagination) preload=Product&preload=Product.Manufacturer # preloading: loads nested models as well
It is used in GetListHandler, GetByIDHandler and GetFieldHandler, to bind the query parameters in the GET request url.
No description provided by the author
No description provided by the author
# Type aliases
CrudGroup is options to construct the router group.
No description provided by the author
GetPretreat list和get.
Pretreat 更新和新增.
QueryOption is a function that can be used to construct a query.
No description provided by the author