Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateProvider ¶
Types ¶
type CmdWireVisitor ¶
type CmdWireVisitor struct { CmdName string UpperCmdName string AppName string // contains filtered or unexported fields }
func NewCmdWireVisitor ¶
func NewCmdWireVisitor(cmdName string, upperCmdName string, appName string) *CmdWireVisitor
func (*CmdWireVisitor) InsertInitCmdFunc ¶
func (v *CmdWireVisitor) InsertInitCmdFunc(file *ast.File)
type CurrentProvideVisitor ¶
type CurrentProvideVisitor struct {
FunName string
}
func NewCurrentProvideVisitor ¶
func NewCurrentProvideVisitor(funName string) *CurrentProvideVisitor
type FormatLine ¶
type FormatLine struct { }
func NewFormatLine ¶
func NewFormatLine() *FormatLine
func (*FormatLine) FormatHttpEngine ¶
func (v *FormatLine) FormatHttpEngine(src any) ([]byte, error)
func (*FormatLine) FormatProvider ¶
func (v *FormatLine) FormatProvider(src any) ([]byte, error)
FormatProvider
type RouteProvideVisitor ¶
type RouteProvideVisitor struct { FunName string // contains filtered or unexported fields }
func NewRouteProvideVisitor ¶
func NewRouteProvideVisitor(pkgName string, funName string) *RouteProvideVisitor
type UpdateRoot ¶
type UpdateRoot struct {
// contains filtered or unexported fields
}
func NewUpdateRoot ¶
func NewUpdateRoot(varName string, varType string) *UpdateRoot
Click to show internal directories.
Click to hide internal directories.