Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTypeStr ¶
func MakeFileFuncSet ¶
Types ¶
type Function ¶
type Function struct {
Name string `json:"name"`
Params []*Field `json:"params"`
Results []*Field `json:"results"`
File string `json:"file"`
Type string `json:"type"`
Source string `json:"source"`
Line int `json:"line"`
}
func GetFuncList ¶
func GetFuncListWithStackTraces ¶
func GetFuncListWithStackTraces(stackTraces []*StackTrace) (funs []*Function)
func NewFunction ¶
type StackTrace ¶
type StackTrace struct {
Func string `json:"func"`
File string `json:"file"`
Line int `json:"line"`
}
func StackTraces ¶
func StackTraces(stack []byte) []*StackTrace
Click to show internal directories.
Click to hide internal directories.