Documentation ¶
Index ¶
Constants ¶
View Source
const ResourceID = "Phone"
Variables ¶
This section is empty.
Functions ¶
func AddSubResource ¶
func PrepareResource ¶
Types ¶
type Phone ¶
type Phone struct { aorm.Model PhoneAttrs }
type PhoneAttrs ¶
type PhoneAttrs struct { CountryCode string `gorm:"size:2"` Number string `gorm:"size:255"` Note string `gorm:"size:255"` }
func (*PhoneAttrs) String ¶
func (p *PhoneAttrs) String() (s string)
type Plugin ¶
type Plugin struct { plug.EventDispatcher db.DBNames admin_plugin.AdminNames }
func (*Plugin) OnRegister ¶
func (p *Plugin) OnRegister()
Click to show internal directories.
Click to hide internal directories.