Documentation ¶
Index ¶
Constants ¶
View Source
const (
FieldTypeDepartment = "department"
)
View Source
const (
FieldTypeUser = "user"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepartmentDelegate ¶
func NewDepartmentDelegate ¶
func NewDepartmentDelegate() (d *DepartmentDelegate)
func (*DepartmentDelegate) BuildField ¶
func (d *DepartmentDelegate) BuildField() []*item.Field
func (*DepartmentDelegate) IsList ¶
func (d *DepartmentDelegate) IsList() bool
func (*DepartmentDelegate) Name ¶
func (d *DepartmentDelegate) Name() string
func (*DepartmentDelegate) Type ¶
func (d *DepartmentDelegate) Type() item.FieldType
type UserDelegate ¶
func NewUserDelegate ¶
func NewUserDelegate() (d *UserDelegate)
func (*UserDelegate) BuildField ¶
func (d *UserDelegate) BuildField() []*item.Field
func (*UserDelegate) IsList ¶
func (d *UserDelegate) IsList() bool
func (*UserDelegate) Name ¶
func (d *UserDelegate) Name() string
func (*UserDelegate) Type ¶
func (d *UserDelegate) Type() item.FieldType
Click to show internal directories.
Click to hide internal directories.