package account type Other struct{} type OtherHandle func() *Other func (c *Other) BindMobile() { } func NewOther() OtherHandle { return func() *Other { return &Other{} } }