resolve

package
v0.0.0-...-c6dfda3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitFuncName

func SplitFuncName(fn *ast.FuncDecl) (typeName, funcName string)

Types

type CallInfo

type CallInfo struct {
	PkgName  string
	PkgPath  string
	FuncName string
}

func Call

func Call(typesInfo *types.Info, call *ast.CallExpr) CallInfo

type ConvInfo

type ConvInfo struct {
	DstType types.Type
	Arg     ast.Expr
}

func ConvExpr

func ConvExpr(typesInfo *types.Info, e ast.Expr) ConvInfo

type FmtArgInfo

type FmtArgInfo struct {
	Flag   byte
	Verb   byte
	ArgNum int
}

func (FmtArgInfo) String

func (arg FmtArgInfo) String() string

type FmtInfo

type FmtInfo struct {
	Args []FmtArgInfo
}

func FmtString

func FmtString(s string) (FmtInfo, bool)

Jump to

Keyboard shortcuts

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