trace_go

package module
v0.0.0-...-7dff969 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

trace_go

generate trace for you go project

how to start

  • install go install github.com/samxiaogo/trace_go/cmds/generate@latest 确保当前install的bin目录下已经加入了环境变量
  • gennerate 进入到你想调试代码的项目,然后执行generate
  • run go get github.com/samxiaogo/trace_go && go run main.go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNoCallFrame = errors.New("no call frame return")
)

Functions

func Print

func Print(args ...interface{}) func()

Print do print the trace method

Types

This section is empty.

Directories

Path Synopsis
cmds
generate command
pkg
ast

Jump to

Keyboard shortcuts

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