Registry / utility / quasilyte-gogrep

quasilyte-gogrep

JSON →
library0.5.0gogounverified

A Go library for pattern-based code search and AST matching in Go source files.

go get github.com/quasilyte/gogrep
INSTALL
IMPORT
SIG · QUASILYTE-GOGREP
Q
quasilyte-gogrep
utilitygov0.5.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.

gogrep
✓ github.com/quasilyte/gogrep

Compiles a gogrep pattern for matching Go AST nodes.

package main import ( "fmt" "github.com/quasilyte/gogrep" ) func main() { // Example: compile a pattern and match against a Go file pattern := "fmt.Println($*_)" compiled, err := gogrep.Compile(pattern) if err != nil { panic(err) } fmt.Printf("Compiled pattern: %s\n", compiled) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
quasilyte-gogrep — go get quasilyte-gogrep · libregistry