Documentation ¶
Index ¶
Constants ¶
View Source
const (
NoEqErr = "src, dest is not eq"
)
Variables ¶
This section is empty.
Functions ¶
func StructValEqual ¶
func StructValEqual(dest, src interface{}) bool
Types ¶
type Man ¶
type Man struct { Id int32 `json:"id,omitempty" gorm:"id" db:"id"` Name string `json:"name,omitempty" gorm:"name" db:"name"` // 姓名 SName string `json:"s_name,omitempty" gorm:"s_name" db:"s_name"` // 学名 Age int32 `json:"age,omitempty" gorm:"age" db:"age"` Addr string `json:"addr,omitempty" gorm:"addr" db:"addr"` Hobby string `json:"hobby,omitempty"` NickName string `json:"nickname,omitempty" gorm:"nickname" db:"nickname"` JsonTxt Tmp `json:"json_txt,omitempty"` XmlTxt Tmp `json:"xml_txt,omitempty"` Json1Txt Tmp `json:"json1_txt,omitempty"` }
Click to show internal directories.
Click to hide internal directories.