Documentation ¶
Index ¶
- func BuildApiBlueprint(config *resource.CmsConfig, cruds map[string]*resource.DbResource) string
- func CreateActionPostMethod(action resource.Action) map[string]interface{}
- func CreateActionResource(action resource.Action) map[string]interface{}
- func CreateActionResponse(action resource.Action) map[string]interface{}
- func CreateActionResponseTypeAttributes(outcome resource.Outcome) map[string]interface{}
- func CreateByIdResource(tableInfo resource.TableInfo) map[string]interface{}
- func CreateColumnLine(colInfo api2go.ColumnInfo) map[string]interface{}
- func CreateDataInResponse(tableInfo resource.TableInfo) map[string]interface{}
- func CreateDeleteMethod(tableInfo resource.TableInfo) map[string]interface{}
- func CreateDeleteRelationMethod(tableInfo resource.TableInfo) map[string]interface{}
- func CreateGetAllMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}
- func CreateGetMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}
- func CreatePatchMethod(tableInfo resource.TableInfo) map[string]interface{}
- func CreatePostMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}
- func CreateRelationsByIdResource(tableInfo resource.TableInfo) map[string]interface{}
- func InfoError(err error, args ...interface{}) bool
- func ProperCase(str string) string
- func TitleCase(str string) string
- type BlueprintWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApiBlueprint ¶
func CreateActionPostMethod ¶ added in v0.6.8
func CreateActionResource ¶ added in v0.6.8
func CreateActionResponse ¶ added in v0.6.8
func CreateActionResponseTypeAttributes ¶ added in v0.6.8
func CreateByIdResource ¶ added in v0.6.8
func CreateColumnLine ¶
func CreateColumnLine(colInfo api2go.ColumnInfo) map[string]interface{}
func CreateDataInResponse ¶ added in v0.6.8
func CreateDeleteMethod ¶ added in v0.6.8
func CreateDeleteRelationMethod ¶ added in v0.6.8
func CreateGetAllMethod ¶ added in v0.6.8
func CreateGetMethod ¶ added in v0.6.8
func CreatePatchMethod ¶ added in v0.6.8
func CreatePostMethod ¶ added in v0.6.8
func CreateRelationsByIdResource ¶ added in v0.6.8
func ProperCase ¶ added in v0.6.8
Types ¶
type BlueprintWriter ¶
type BlueprintWriter struct {
// contains filtered or unexported fields
}
func NewBluePrintWriter ¶
func NewBluePrintWriter() BlueprintWriter
func (*BlueprintWriter) Markdown ¶
func (x *BlueprintWriter) Markdown() string
func (*BlueprintWriter) WriteString ¶
func (x *BlueprintWriter) WriteString(s string)
func (*BlueprintWriter) WriteStringf ¶
func (x *BlueprintWriter) WriteStringf(s ...interface{})
Click to show internal directories.
Click to hide internal directories.