Registry / utility / go-toolsmith-astcopy

go-toolsmith-astcopy

JSON →
library1.1.0gogounverified

Package astcopy implements deep copy operations for Go AST nodes without reflection.

go get github.com/go-toolsmith/astcopy
INSTALL
IMPORT
SIG · GO-TOOLSMITH-ASTCO
G
go-toolsmith-astcopy
utilitygov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

astcopy
github.com/go-toolsmith/astcopy

Deep copy an AST identifier node

package main import ( "fmt" "github.com/go-toolsmith/astcopy" "go/ast" ) func main() { node := &ast.Ident{Name: "x"} copy := astcopy.Ident(node) fmt.Println(copy) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-toolsmith-astcopy — go get go-toolsmith-astcopy · libregistry