addService

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddService

type AddService struct {
	Name     string
	FilePath string
	Method   string
	Api      string //接口
	ApiFunc  string //接口方法
	Results  []*ast.Field

	ISByID       bool
	IsReturnList bool
	NoParams     bool

	ReturnType string
	// contains filtered or unexported fields
}

func (*AddService) FuncType

func (a *AddService) FuncType()

func (*AddService) GetReturnType

func (a *AddService) GetReturnType() *ast.FieldList

func (*AddService) InsertService

func (a *AddService) InsertService() error

Jump to

Keyboard shortcuts

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