Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

该如何初始化复杂的类型, 类型定义如下 #127

Open
lwp145 opened this issue Jan 17, 2023 · 0 comments
Open

该如何初始化复杂的类型, 类型定义如下 #127

lwp145 opened this issue Jan 17, 2023 · 0 comments

Comments

@lwp145
Copy link

lwp145 commented Jan 17, 2023

type DetailInfo struct { Summary Summary json:"summary"Detail map[string]*Url_Request_Infojson:"detail"`
}

type Summary struct {
Url_Request_Info Url_Request_Info json:"url_request_info"
Paths []string json:"paths"
}

type Url_Request_Info struct{
Total int json:"total"
Code_200 int json:"code_200"
Code_400 int json:"code_400"
Code_403 int json:"code_403"
Code_404 int json:"code_404"
Code_408 int json:"code_408"
Code_500 int json:"code_500"
Code_503 int json:"code_503"
}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant