aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-toolsmith/strparse
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2023-02-22 22:16:50 +0100
committerTaras Madan <tarasmadan@google.com>2023-02-24 12:47:23 +0100
commit4165372ec8fd142475a4e35fd0cf4f8042132208 (patch)
tree21cd62211b4dd80bee469054c5b65db77342333c /vendor/github.com/go-toolsmith/strparse
parent2b3ed821a493b8936c8bacfa6f8b4f1c90a00855 (diff)
dependencies: update
set go min requirements to 1.19 update dependencies update vendor
Diffstat (limited to 'vendor/github.com/go-toolsmith/strparse')
-rw-r--r--vendor/github.com/go-toolsmith/strparse/.travis.yml9
-rw-r--r--vendor/github.com/go-toolsmith/strparse/README.md32
-rw-r--r--vendor/github.com/go-toolsmith/strparse/go.mod1
3 files changed, 23 insertions, 19 deletions
diff --git a/vendor/github.com/go-toolsmith/strparse/.travis.yml b/vendor/github.com/go-toolsmith/strparse/.travis.yml
deleted file mode 100644
index 8994d395c..000000000
--- a/vendor/github.com/go-toolsmith/strparse/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: go
-go:
- - 1.x
-install:
- - # Prevent default install action "go get -t -v ./...".
-script:
- - go get -t -v ./...
- - go tool vet .
- - go test -v -race ./... \ No newline at end of file
diff --git a/vendor/github.com/go-toolsmith/strparse/README.md b/vendor/github.com/go-toolsmith/strparse/README.md
index ae80a5398..ac04d516f 100644
--- a/vendor/github.com/go-toolsmith/strparse/README.md
+++ b/vendor/github.com/go-toolsmith/strparse/README.md
@@ -1,15 +1,17 @@
-[![Go Report Card](https://goreportcard.com/badge/github.com/go-toolsmith/strparse)](https://goreportcard.com/report/github.com/go-toolsmith/strparse)
-[![GoDoc](https://godoc.org/github.com/go-toolsmith/strparse?status.svg)](https://godoc.org/github.com/go-toolsmith/strparse)
-[![Build Status](https://travis-ci.org/go-toolsmith/strparse.svg?branch=master)](https://travis-ci.org/go-toolsmith/strparse)
-
-
# strparse
-Package strparse provides convenience wrappers around `go/parser` for simple
+[![build-img]][build-url]
+[![pkg-img]][pkg-url]
+[![reportcard-img]][reportcard-url]
+[![version-img]][version-url]
+
+Package `strparse` provides convenience wrappers around `go/parser` for simple
expression, statement and declaretion parsing from string.
## Installation
+Go version 1.16+
+
```bash
go get github.com/go-toolsmith/strparse
```
@@ -20,8 +22,8 @@ go get github.com/go-toolsmith/strparse
package main
import (
- "go-toolsmith/astequal"
- "go-toolsmith/strparse"
+ "github.com/go-toolsmith/astequal"
+ "github.com/go-toolsmith/strparse"
)
func main() {
@@ -30,5 +32,17 @@ func main() {
y := strparse.Expr(` 1+f( v[0].X ) `)
fmt.Println(astequal.Expr(x, y)) // => true
}
-
```
+
+## License
+
+[MIT License](LICENSE).
+
+[build-img]: https://github.com/go-toolsmith/strparse/workflows/build/badge.svg
+[build-url]: https://github.com/go-toolsmith/strparse/actions
+[pkg-img]: https://pkg.go.dev/badge/go-toolsmith/strparse
+[pkg-url]: https://pkg.go.dev/github.com/go-toolsmith/strparse
+[reportcard-img]: https://goreportcard.com/badge/go-toolsmith/strparse
+[reportcard-url]: https://goreportcard.com/report/go-toolsmith/strparse
+[version-img]: https://img.shields.io/github/v/release/go-toolsmith/strparse
+[version-url]: https://github.com/go-toolsmith/strparse/releases
diff --git a/vendor/github.com/go-toolsmith/strparse/go.mod b/vendor/github.com/go-toolsmith/strparse/go.mod
deleted file mode 100644
index ed9d88136..000000000
--- a/vendor/github.com/go-toolsmith/strparse/go.mod
+++ /dev/null
@@ -1 +0,0 @@
-module github.com/go-toolsmith/strparse