Documentation ¶
Index ¶
- func Bool(name string) *boolBuilder
- func Bytes(name string) *bytesBuilder
- func Int16(name string) *int16Builder
- func Int32(name string) *int32Builder
- func Int64(name string) *int64Builder
- func Int8(name string) *int8Builder
- func String(name string) *stringBuilder
- func Time(name string) *timeBuilder
- func UUID(name string) *uuidBuilder
- func Uint16(name string) *uint16Builder
- func Uint32(name string) *uint32Builder
- func Uint64(name string) *uint64Builder
- func Uint8(name string) *uint8Builder
- type Comment
- type Descriptor
- type Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Descriptor ¶
type Descriptor struct { Name string Type types.Type Sensitive bool Annotate string Comment Comment Private bool Default bool DefaultValue interface{} Getter bool Setter bool Validators []validator ModelStringer bool }
func (*Descriptor) GetAnnotate ¶
func (d *Descriptor) GetAnnotate() string
type Field ¶
type Field interface {
Descriptor() *Descriptor
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.