handler

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileRender

type FileRender struct {
	Imports  []string // handlersxxx "%s/internal/biz/handler/xxx"
	Handlers []*Render
}

FileRender 处理器文件渲染对象

func Scan

func Scan(projectPath, packageName string) (*FileRender, error)

Scan 扫描

type Render

type Render struct {
	PackageTitle string // 首字母大写
	PackageName  string // 全小写
	HandlerName  string
}

Render 处理器渲染对象

Jump to

Keyboard shortcuts

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