method

package
v0.0.0-...-dfb541f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToArgsName

func ToArgsName(fieldName string) string

Types

type Method

type Method struct {
	Field *schema.Field

	MethodName string
	Params     Params
	Query      string
}

type Param

type Param struct {
	PkgPath   string // package's path: internal/model
	Package   string // package's name: model
	Name      string // param's name: user
	Type      string // param's type: User
	IsArray   bool   // is array or not
	IsPointer bool   // is pointer or not
}

type Params

type Params []*Param

func (Params) InputArgs

func (params Params) InputArgs() string

func (Params) QueryArgs

func (params Params) QueryArgs() string

Jump to

Keyboard shortcuts

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