generator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkbox

type Checkbox struct {
}

This structure describes the Checkbox to the connector dialog and code generator

func (Checkbox) GenerateCreate

func (d Checkbox) GenerateCreate(namespace string, col *generator.ColumnType) (s string)

func (Checkbox) GenerateCreator added in v0.2.0

func (d Checkbox) GenerateCreator(col *generator.ColumnType) (s string)

func (Checkbox) GenerateGet

func (d Checkbox) GenerateGet(ctrlName string, objName string, col *generator.ColumnType) (s string)

func (Checkbox) GeneratePut

func (d Checkbox) GeneratePut(ctrlName string, objName string, col *generator.ColumnType) (s string)

func (Checkbox) GenerateRefresh added in v0.2.0

func (d Checkbox) GenerateRefresh(col *generator.ColumnType) (s string)

func (Checkbox) GenerateUpdate added in v0.2.0

func (d Checkbox) GenerateUpdate(col *generator.ColumnType) (s string)

func (Checkbox) Imports

func (d Checkbox) Imports() []generator.ImportPath

func (Checkbox) NewFunc

func (d Checkbox) NewFunc() string

func (Checkbox) SupportsColumn

func (d Checkbox) SupportsColumn(col *generator.ColumnType) bool

func (Checkbox) Type

func (d Checkbox) Type() string

type DateTimeSpan

type DateTimeSpan struct {
}

This structure describes the DateTimeSpan to the connector dialog and code generator

func (DateTimeSpan) GenerateCreator added in v0.2.0

func (d DateTimeSpan) GenerateCreator(col *generator.ColumnType) (s string)

func (DateTimeSpan) GenerateRefresh added in v0.2.0

func (d DateTimeSpan) GenerateRefresh(col *generator.ColumnType) (s string)

func (DateTimeSpan) GenerateUpdate added in v0.2.0

func (d DateTimeSpan) GenerateUpdate(col *generator.ColumnType) (s string)

func (DateTimeSpan) Imports

func (d DateTimeSpan) Imports() []generator.ImportPath

func (DateTimeSpan) NewFunc

func (d DateTimeSpan) NewFunc() string

func (DateTimeSpan) SupportsColumn

func (d DateTimeSpan) SupportsColumn(col *generator.ColumnType) bool

func (DateTimeSpan) Type

func (d DateTimeSpan) Type() string

type FloatTextbox

type FloatTextbox struct {
}

This structure describes the FloatTextbox to the connector dialog and code generator

func (FloatTextbox) GenerateCreator added in v0.2.0

func (d FloatTextbox) GenerateCreator(col *generator.ColumnType) (s string)

func (FloatTextbox) GenerateRefresh added in v0.2.0

func (d FloatTextbox) GenerateRefresh(col *generator.ColumnType) (s string)

func (FloatTextbox) GenerateUpdate added in v0.2.0

func (d FloatTextbox) GenerateUpdate(col *generator.ColumnType) (s string)

func (FloatTextbox) Imports

func (d FloatTextbox) Imports() []generator.ImportPath

func (FloatTextbox) SupportsColumn

func (d FloatTextbox) SupportsColumn(col *generator.ColumnType) bool

func (FloatTextbox) Type

func (d FloatTextbox) Type() string

type IntegerTextbox

type IntegerTextbox struct {
}

This structure describes the IntegerTextbox to the connector dialog and code generator

func (IntegerTextbox) GenerateCreator added in v0.2.0

func (d IntegerTextbox) GenerateCreator(col *generator.ColumnType) (s string)

func (IntegerTextbox) GenerateRefresh added in v0.2.0

func (d IntegerTextbox) GenerateRefresh(col *generator.ColumnType) (s string)

func (IntegerTextbox) GenerateUpdate added in v0.2.0

func (d IntegerTextbox) GenerateUpdate(col *generator.ColumnType) (s string)

func (IntegerTextbox) Imports

func (d IntegerTextbox) Imports() []generator.ImportPath

func (IntegerTextbox) NewFunc

func (d IntegerTextbox) NewFunc() string

func (IntegerTextbox) SupportsColumn

func (d IntegerTextbox) SupportsColumn(col *generator.ColumnType) bool

func (IntegerTextbox) Type

func (d IntegerTextbox) Type() string

type SelectList

type SelectList struct {
}

This structure describes the SelectList to the connector dialog and code generator

func (SelectList) GenerateCreator added in v0.2.0

func (d SelectList) GenerateCreator(col *generator.ColumnType) (s string)

func (SelectList) GenerateProvider added in v0.2.0

func (d SelectList) GenerateProvider(col *generator.ColumnType) string

func (SelectList) GenerateRefresh added in v0.2.0

func (d SelectList) GenerateRefresh(col *generator.ColumnType) string

func (SelectList) GenerateUpdate added in v0.2.0

func (d SelectList) GenerateUpdate(col *generator.ColumnType) string

func (SelectList) Imports

func (d SelectList) Imports() []generator.ImportPath

func (SelectList) NewFunc

func (d SelectList) NewFunc() string

func (SelectList) SupportsColumn

func (d SelectList) SupportsColumn(col *generator.ColumnType) bool

TODO: This has to be changed to support virtual column types like ManyMany and Reverse

func (SelectList) Type

func (d SelectList) Type() string

type Span

type Span struct {
}

This structure describes the Span to the connector dialog and code generator

func (Span) GenerateCreator added in v0.2.0

func (d Span) GenerateCreator(col *generator.ColumnType) (s string)

func (Span) GenerateRefresh added in v0.2.0

func (d Span) GenerateRefresh(col *generator.ColumnType) (s string)

func (Span) GenerateUpdate added in v0.2.0

func (d Span) GenerateUpdate(col *generator.ColumnType) (s string)

func (Span) Imports

func (d Span) Imports() []generator.ImportPath

func (Span) NewFunc

func (d Span) NewFunc() string

func (Span) SupportsColumn

func (d Span) SupportsColumn(col *generator.ColumnType) bool

func (Span) Type

func (d Span) Type() string

type Textbox

type Textbox struct {
}

This structure describes the textbox to the connector dialog and code generator

func (Textbox) GenerateCreator added in v0.2.0

func (d Textbox) GenerateCreator(col *generator.ColumnType) (s string)

func (Textbox) GenerateRefresh added in v0.2.0

func (d Textbox) GenerateRefresh(col *generator.ColumnType) (s string)

func (Textbox) GenerateUpdate added in v0.2.0

func (d Textbox) GenerateUpdate(col *generator.ColumnType) (s string)

func (Textbox) Imports

func (d Textbox) Imports() []generator.ImportPath

func (Textbox) SupportsColumn

func (d Textbox) SupportsColumn(col *generator.ColumnType) bool

func (Textbox) Type

func (d Textbox) Type() string

Jump to

Keyboard shortcuts

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