rewrite

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RewriteDir

func RewriteDir(dir string)

RewriteDir

@Description: 对目录中所有文件进行重写
@param dir

Types

type Rewrite

type Rewrite struct {
	// contains filtered or unexported fields
}

func NewRewrite

func NewRewrite(fullPath string) (*Rewrite, error)

func (*Rewrite) HasSameDefer

func (r *Rewrite) HasSameDefer(decl *ast.FuncDecl) bool

func (*Rewrite) ImportFunctrace

func (r *Rewrite) ImportFunctrace()

func (*Rewrite) RewriteFile

func (r *Rewrite) RewriteFile()

Jump to

Keyboard shortcuts

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