user

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Code generated by goctl. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Embed1

type Embed1 struct {
	Foo    int    `json:"foo" label:"x"`         // x
	Embed3 Embed3 `json:"embed3" label:"esc234"` // esc234
}

type Embed2

type Embed2 struct {
	Foo int `json:"foo" label:"y"` // y
}

type Embed3 added in v1.3.1

type Embed3 struct {
	Foo int `json:"foo" label:"Embed3"` // Embed3
}

type UserRequest

type UserRequest struct {
	Name   string            `uri:"name" label:"姓名"` // 姓名
	Age    int               `json:"age"`
	Embed1 []Embed1          `json:"em1" label:"xs"`  // xs
	Embed2 Embed2            `json:"em2" label:"dsd"` // dsd
	Map2   map[string]Value1 `json:"map2"`
}

type UserResponse

type UserResponse struct {
	Code   int               `json:"code"`
	Msg    string            `json:"msg"`
	Embed1 []Embed1          `json:"em1"`
	Embed2 Embed2            `json:"em2"`
	Map1   map[string]string `json:"map1"` // test
	Map2   map[string]Value1 `json:"map2"`
}

type Value1

type Value1 struct {
	Name string `json:"name" label:"vads3"` // vads3
}

Directories

Path Synopsis
Code generated by goctl.
Code generated by goctl.

Jump to

Keyboard shortcuts

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