Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultUserAvatar = "static/avatar.png" // 默认用户头像
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Avatar ¶
type Avatar struct {
// contains filtered or unexported fields
}
Avatar 头像值对象
func (Avatar) RelativePath ¶
type WxMiniProgramOpenID ¶
type WxMiniProgramOpenID struct {
// contains filtered or unexported fields
}
WxMiniProgramOpenID 微信小程序用户OpenID值对象
func NewWxMiniProgramOpenID ¶
func NewWxMiniProgramOpenID(openid string) (WxMiniProgramOpenID, error)
func (WxMiniProgramOpenID) String ¶
func (o WxMiniProgramOpenID) String() string
func (WxMiniProgramOpenID) Validate ¶
func (o WxMiniProgramOpenID) Validate() error
func (WxMiniProgramOpenID) Value ¶
func (o WxMiniProgramOpenID) Value() string
type WxOfficialOpenID ¶
type WxOfficialOpenID struct {
// contains filtered or unexported fields
}
WxOfficialOpenID 微信公众号用户OpenID值对象
func NewWxOfficialOpenID ¶
func NewWxOfficialOpenID(openid string) (WxOfficialOpenID, error)
func (WxOfficialOpenID) String ¶
func (o WxOfficialOpenID) String() string
func (WxOfficialOpenID) Validate ¶
func (o WxOfficialOpenID) Validate() error
func (WxOfficialOpenID) Value ¶
func (o WxOfficialOpenID) Value() string
type WxUnionID ¶
type WxUnionID struct {
// contains filtered or unexported fields
}
WxUnionID 微信开放平台union_id值对象
func NewWxUnionID ¶
Click to show internal directories.
Click to hide internal directories.