struction

package
v0.0.0-...-62820d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var XTenantAuthorization = "X-Tenant-Authorization"

Functions

func AnnomyStruct

func AnnomyStruct()

func Older

func Older(p1, p2 people) (bool, int)

func Reflection

func Reflection()

func TestInterface

func TestInterface()

func TestStruct

func TestStruct()

Types

type Circle

type Circle struct {
	// contains filtered or unexported fields
}

type CommonConfigSyncVo

type CommonConfigSyncVo struct {
	TenantId    int32    `json:"tenantId"`
	Category    string   `json:"category"`
	StoreId     int32    `json:"storeId"`
	ConfigId    int32    `json:"configId"`
	PayloadList []string `json:"payloadList"`
	DelFlag     int32    `json:"delFlag"`
}

type GoodStudent

type GoodStudent struct {
	Student
	// contains filtered or unexported fields
}

type GooglePlayListOrderReq

type GooglePlayListOrderReq struct {
	Uid      int64  `json:"uid"`
	Account  string `json:"account"`
	Language string `json:"language"`
	ClientIp string `json:"clientIp"`
	Page     int64  `json:"page"`
	Limit    int64  `json:"limit"`
}

type GooglePlayListPlanReq

type GooglePlayListPlanReq struct {
	Uid      int64  `json:"uid"`
	Account  string `json:"account"`
	Language string `json:"language"`
	Client   string `json:"client"`
	ClientIp string `json:"clientIp"`
}

type GooglePlayPayOrderReq

type GooglePlayPayOrderReq struct {
	Uid       int64  `json:"uid"`
	Account   string `json:"account"`
	Language  string `json:"language"`
	Client    string `json:"client"`
	ClientIp  string `json:"clientIp"`
	PlanId    int64  `json:"planId"`
	Currency  string `json:"currency"`
	AutoRenew int8   `json:"autoRenew"`
	ProductId string `json:"productId"`
}

type Human

type Human struct {
	Name   string
	Age    int
	Weight int
}

func NewHuman

func NewHuman(name string, age int, weight int) *Human

func (Human) SayHi

func (h Human) SayHi()

Human 实现 Man接口

func (Human) Sing

func (h Human) Sing(s string)

Human 实现 Man接口

type Man

type Man interface {
	SayHi()
	Sing(s string)
}

type Rectangle

type Rectangle struct {
	// contains filtered or unexported fields
}

type Student

type Student struct {
	Human // 匿名字段,那么默认Student就包含了Human的所有字段
	// contains filtered or unexported fields
}

type Tenant

type Tenant struct {
	Id     int64
	Secret string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL