Skip to content

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

@lwp145

Description

@lwp145

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"
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions