Documentation ¶
Index ¶
- Variables
- func Test1(log gsf.LoggerInterface) error
- func Test2(log gsf.LoggerInterface) error
- func Test3(log gsf.LoggerInterface) error
- type Profile
- type Test1User
- type Test1UserAll
- type Test1UserEducation
- type Test1UserName
- type Test1UserPower
- type Test1UserPowers
- type Test2Book
- type Test2User
- type Test2UserBook
- type Test2UserProfile
- type Test3User
Constants ¶
This section is empty.
Variables ¶
View Source
var DbComponent mysql.Component
Functions ¶
Types ¶
type Test1UserAll ¶
type Test1UserAll struct { Test1UserName `gorm:"embedded"` Age int Education Test1UserEducation `gorm:"TYPE:json"` Power Test1UserPowers `gorm:"TYPE:string"` }
type Test1UserEducation ¶
type Test1UserEducation struct {
School string `json:"school"`
}
func (*Test1UserEducation) Scan ¶
func (v *Test1UserEducation) Scan(value interface{}) error
type Test1UserName ¶
type Test1UserPower ¶
type Test1UserPower struct {
Id, Name string
}
type Test1UserPowers ¶
type Test1UserPowers []Test1UserPower
func (*Test1UserPowers) Scan ¶
func (v *Test1UserPowers) Scan(value interface{}) error
type Test2UserBook ¶
type Test2UserProfile ¶
func (Test2UserProfile) MarshalJSON ¶
func (t Test2UserProfile) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.