user

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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"`
}

type Embed2

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

type UserRequest

type UserRequest struct {
	Name string `uri:"name"`
	Age  int    `json:"age"`
}

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

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