apiblueprint

package
v0.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: GPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildApiBlueprint

func BuildApiBlueprint(config *resource.CmsConfig, cruds map[string]*resource.DbResource) string

func CreateActionPostMethod added in v0.6.8

func CreateActionPostMethod(action resource.Action) map[string]interface{}

func CreateActionResource added in v0.6.8

func CreateActionResource(action resource.Action) map[string]interface{}

func CreateActionResponse added in v0.6.8

func CreateActionResponse(action resource.Action) map[string]interface{}

func CreateActionResponseTypeAttributes added in v0.6.8

func CreateActionResponseTypeAttributes(outcome resource.Outcome) map[string]interface{}

func CreateByIdResource added in v0.6.8

func CreateByIdResource(tableInfo resource.TableInfo) map[string]interface{}

func CreateColumnLine

func CreateColumnLine(colInfo api2go.ColumnInfo) map[string]interface{}

func CreateDataInResponse added in v0.6.8

func CreateDataInResponse(tableInfo resource.TableInfo) map[string]interface{}

func CreateDeleteMethod added in v0.6.8

func CreateDeleteMethod(tableInfo resource.TableInfo) map[string]interface{}

func CreateDeleteRelationMethod added in v0.6.8

func CreateDeleteRelationMethod(tableInfo resource.TableInfo) map[string]interface{}

func CreateGetAllMethod added in v0.6.8

func CreateGetAllMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}

func CreateGetMethod added in v0.6.8

func CreateGetMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}

func CreatePatchMethod added in v0.6.8

func CreatePatchMethod(tableInfo resource.TableInfo) map[string]interface{}

func CreatePostMethod added in v0.6.8

func CreatePostMethod(tableInfo resource.TableInfo, dataInResponse map[string]interface{}) map[string]interface{}

func CreateRelationsByIdResource added in v0.6.8

func CreateRelationsByIdResource(tableInfo resource.TableInfo) map[string]interface{}

func InfoError added in v0.6.8

func InfoError(err error, args ...interface{}) bool

func ProperCase added in v0.6.8

func ProperCase(str string) string

func TitleCase added in v0.6.8

func TitleCase(str string) string

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{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL