genconf

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMatchingGroupFromEchoV4

func GenMatchingGroupFromEchoV4(fileName string, echoPkgName string, captureGroupName bool) ([]string, error)

Types

type ArgAstInfo

type ArgAstInfo struct {
	Call     *ast.CallExpr
	CallPos  token.Position
	ArgPos   token.Position
	ArgIndex int
}

type ArgNotBasicLitError

type ArgNotBasicLitError struct {
	Info []*ArgAstInfo
}

func (*ArgNotBasicLitError) Error

func (e *ArgNotBasicLitError) Error() string

type WebFramework

type WebFramework int
const (
	EchoV4 WebFramework = iota
	None
)

type WebFrameworkInfo

type WebFrameworkInfo struct {
	PkgName string
	Kind    WebFramework
}

func CheckImportedFramework

func CheckImportedFramework(fileName string) (*WebFrameworkInfo, error)

Jump to

Keyboard shortcuts

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