Documentation ¶
Index ¶
- func BuildApiBlueprint(config *resource.CmsConfig, cruds map[string]*resource.DbResource) string
- 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 InfoError(err error, args ...interface{}) bool
- func ProperCase(str string) string
- type BlueprintWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApiBlueprint ¶
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 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.