1- [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/go-toolsmith/strparse )] ( https://goreportcard.com/report/github.com/go-toolsmith/strparse )
2- [ ![ GoDoc] ( https://godoc.org/github.com/go-toolsmith/strparse?status.svg )] ( https://godoc.org/github.com/go-toolsmith/strparse )
3- [ ![ Build Status] ( https://travis-ci.org/go-toolsmith/strparse.svg?branch=master )] ( https://travis-ci.org/go-toolsmith/strparse )
4-
5-
61# strparse
72
8- Package strparse provides convenience wrappers around ` go/parser ` for simple
3+ [ ![ build-img]] [ build-url ]
4+ [ ![ pkg-img]] [ pkg-url ]
5+ [ ![ reportcard-img]] [ reportcard-url ]
6+ [ ![ version-img]] [ version-url ]
7+
8+ Package ` strparse ` provides convenience wrappers around ` go/parser ` for simple
99expression, statement and declaretion parsing from string.
1010
1111## Installation
1212
13+ Go version 1.16+
14+
1315``` bash
1416go get github.com/go-toolsmith/strparse
1517```
@@ -20,8 +22,8 @@ go get github.com/go-toolsmith/strparse
2022package main
2123
2224import (
23- " go-toolsmith/astequal"
24- " go-toolsmith/strparse"
25+ " github.com/ go-toolsmith/astequal"
26+ " github.com/ go-toolsmith/strparse"
2527)
2628
2729func main () {
@@ -30,5 +32,17 @@ func main() {
3032 y := strparse.Expr (` 1+f( v[0].X ) ` )
3133 fmt.Println (astequal.Expr (x, y)) // => true
3234}
33-
3435```
36+
37+ ## License
38+
39+ [ MIT License] ( LICENSE ) .
40+
41+ [ build-img ] : https://github.com/go-toolsmith/strparse/workflows/build/badge.svg
42+ [ build-url ] : https://github.com/go-toolsmith/strparse/actions
43+ [ pkg-img ] : https://pkg.go.dev/badge/go-toolsmith/strparse
44+ [ pkg-url ] : https://pkg.go.dev/github.com/go-toolsmith/strparse
45+ [ reportcard-img ] : https://goreportcard.com/badge/go-toolsmith/strparse
46+ [ reportcard-url ] : https://goreportcard.com/report/go-toolsmith/strparse
47+ [ version-img ] : https://img.shields.io/github/v/release/go-toolsmith/strparse
48+ [ version-url ] : https://github.com/go-toolsmith/strparse/releases
0 commit comments