Skip to content

Commit

Permalink
Merge pull request #111 from mna/update-go
Browse files Browse the repository at this point in the history
Remove support for Go < 1.13
  • Loading branch information
breml committed Mar 16, 2023
2 parents cb2bd5c + e4bfa56 commit c5f5bfd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
go-version: [ "1.11", "1.12", "1.16", "1.18", "1.20", "1.x" ]
go-version: [ "1.13", "1.16", "1.18", "1.20", "1.x" ]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ Github user [@mna][6] created the package in April 2015, and [@breml][5] is the

### Breaking Changes since v1.0.0

* Removed support for Go < v1.13 to support recent version of [golang.org/x/tools](https://pkg.go.dev/golang.org/x/tools).

* Removed support for Go < v1.11 to support go modules for dependency tracking.

* Removed support for Go < v1.9 due to the requirement [golang.org/x/tools/imports](https://godoc.org/golang.org/x/tools/imports), which was updated to reflect changes in recent versions of Go. This is in compliance with the [Go Release Policy](https://golang.org/doc/devel/release.html#policy) respectively the [Go Release Maintenance](https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance), which states support for each major release until there are two newer major releases.
* Removed support for Go < v1.9 due to the requirement [golang.org/x/tools/imports](https://pkg.go.dev/golang.org/x/tools/imports), which was updated to reflect changes in recent versions of Go. This is in compliance with the [Go Release Policy](https://golang.org/doc/devel/release.html#policy) respectively the [Go Release Maintenance](https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance), which states support for each major release until there are two newer major releases.

## Installation

Expand Down Expand Up @@ -129,7 +131,7 @@ The generated parser can parse simple arithmetic operations, e.g.:

More examples can be found in the `examples/` subdirectory.

See the [godoc page][3] for detailed usage.
See the [package documentation][3] for detailed usage.

## Contributing

Expand All @@ -142,7 +144,7 @@ The [BSD 3-Clause license][4]. See the LICENSE file.
[0]: http://en.wikipedia.org/wiki/Parsing_expression_grammar
[1]: http://pegjs.org/
[2]: http://www.codeproject.com/Articles/29713/Parsing-Expression-Grammar-Support-for-C-Part
[3]: https://godoc.org/github.com/mna/pigeon
[3]: https://pkg.go.dev/github.com/mna/pigeon
[4]: http://opensource.org/licenses/BSD-3-Clause
[5]: https://github.com/breml
[6]: https://github.com/mna
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/mna/pigeon

go 1.11
go 1.13

require golang.org/x/tools v0.7.0

0 comments on commit c5f5bfd

Please # to comment.