testtype

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addr

type Addr struct {
	City string `json:"city"` // 城市
	Home string `json:"home"` // 家
}

type Inner

type Inner struct {
	Phone string `json:"phone"` // 手机
}

type TestModel

type TestModel struct {
	Name string `json:"name"` // 名称
	List []User `json:"list"` // 用户列表
}

type User

type User struct {
	Id   uint   `json:"id,string"` // id
	Name string `json:"name"`      // 名字
	Age  int    `json:"age"`       // 年龄
	Addr Addr   `json:"addr"`      // 地址

	Inner
}

Jump to

Keyboard shortcuts

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