Registry / utility / go-toolsmith-strparse

go-toolsmith-strparse

JSON →
library1.1.0gogounverified

Package strparse provides convenience wrappers around go/parser for parsing expressions, statements, and declarations from strings.

go get github.com/go-toolsmith/strparse
INSTALL
IMPORT
SIG · GO-TOOLSMITH-STRPA
G
go-toolsmith-strparse
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.

strparse
✓ github.com/go-toolsmith/strparse

Parse a Go expression from a string into an AST node.

package main import ( "fmt" "github.com/go-toolsmith/strparse" ) func main() { expr := strparse.Expr(`1 + 2`) fmt.Printf("%T\n", expr) }
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-strparse — go get go-toolsmith-strparse · libregistry