An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# parsestr

[![GoDoc](https://godoc.org/github.com/donatj/parsestr?status.svg)](https://godoc.org/github.com/donatj/parsestr)
[![CI](https://github.com/donatj/parsestr/actions/workflows/ci.yml/badge.svg)](https://github.com/donatj/parsestr/actions/workflows/ci.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/donatj/parsestr)](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.