aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-toolsmith/astfmt/README.md
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-01-22 16:07:17 +0100
committerTaras Madan <tarasmadan@google.com>2025-01-23 10:42:36 +0000
commit7b4377ad9d8a7205416df8d6217ef2b010f89481 (patch)
treee6fec4fd12ff807a16d847923f501075bf71d16c /vendor/github.com/go-toolsmith/astfmt/README.md
parent475a4c203afb8b7d3af51c4fd32bb170ff32a45e (diff)
vendor: delete
Diffstat (limited to 'vendor/github.com/go-toolsmith/astfmt/README.md')
-rw-r--r--vendor/github.com/go-toolsmith/astfmt/README.md55
1 files changed, 0 insertions, 55 deletions
diff --git a/vendor/github.com/go-toolsmith/astfmt/README.md b/vendor/github.com/go-toolsmith/astfmt/README.md
deleted file mode 100644
index 00f790fd2..000000000
--- a/vendor/github.com/go-toolsmith/astfmt/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# astfmt
-
-[![build-img]][build-url]
-[![pkg-img]][pkg-url]
-[![reportcard-img]][reportcard-url]
-[![version-img]][version-url]
-
-Package `astfmt` implements ast.Node formatting with fmt-like API.
-
-## Installation
-
-Go version 1.16+
-
-```bash
-go get github.com/go-toolsmith/astfmt
-```
-
-## Example
-
-```go
-package main
-
-import (
- "go/token"
- "os"
-
- "github.com/go-toolsmith/astfmt"
- "github.com/go-toolsmith/strparse"
-)
-
-func Example() {
- x := strparse.Expr(`foo(bar(baz(1+2)))`)
- // astfmt functions add %s support for ast.Node arguments.
- astfmt.Println(x) // => foo(bar(baz(1 + 2)))
- astfmt.Fprintf(os.Stdout, "node=%s\n", x) // => node=foo(bar(baz(1 + 2)))
-
- // Can use specific file set with printer.
- fset := token.NewFileSet() // Suppose this fset is used when parsing
- pp := astfmt.NewPrinter(fset)
- pp.Println(x) // => foo(bar(baz(1 + 2)))
-}
-```
-
-## License
-
-[MIT License](LICENSE).
-
-[build-img]: https://github.com/go-toolsmith/astfmt/workflows/build/badge.svg
-[build-url]: https://github.com/go-toolsmith/astfmt/actions
-[pkg-img]: https://pkg.go.dev/badge/go-toolsmith/astfmt
-[pkg-url]: https://pkg.go.dev/github.com/go-toolsmith/astfmt
-[reportcard-img]: https://goreportcard.com/badge/go-toolsmith/astfmt
-[reportcard-url]: https://goreportcard.com/report/go-toolsmith/astfmt
-[version-img]: https://img.shields.io/github/v/release/go-toolsmith/astfmt
-[version-url]: https://github.com/go-toolsmith/astfmt/releases