addapi

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddApi

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

	NoParams bool
	// contains filtered or unexported fields
}

func (*AddApi) InsertApiHandle

func (a *AddApi) InsertApiHandle() error

添加apiHandle

func (*AddApi) InsertRouter

func (a *AddApi) InsertRouter() error

func (*AddApi) Tmpl

func (a *AddApi) Tmpl()

Jump to

Keyboard shortcuts

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