https://github.com/donatj/parsestr
Provides PHP "parse_str" style URL parsing to Golang
https://github.com/donatj/parsestr
query-parser url-parsing
Last synced: 4 months ago
JSON representation
Provides PHP "parse_str" style URL parsing to Golang
- Host: GitHub
- URL: https://github.com/donatj/parsestr
- Owner: donatj
- License: mit
- Created: 2017-01-11T03:57:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-11-21T13:28:37.000Z (6 months ago)
- Last Synced: 2025-11-21T15:26:36.286Z (6 months ago)
- Topics: query-parser, url-parsing
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# parsestr
[](https://godoc.org/github.com/donatj/parsestr)
[](https://github.com/donatj/parsestr/actions/workflows/ci.yml)
[](https://goreportcard.com/report/github.com/donatj/parsestr)
Parsestr is a simple Golang library emulating the query parsing behavior of the PHP [parse_str](http://php.net/manual/en/function.parse-str.php).
Parsestr works by extending the Golang standard url.Values allowing parsing of PHP style `foo[bar]=baz&qux[]=quux` query strings.