parsestr

package module
v0.0.0-...-f8c454f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 2 Imported by: 0

README

parsestr

GoDoc CI Go Report Card

Parsestr is a simple Golang library emulating the query parsing behavior of the PHP parse_str.

Parsestr works by extending the Golang standard url.Values allowing parsing of PHP style foo[bar]=baz&qux[]=quux query strings.

Documentation

Overview

Package parsestr is a simple Golang library emulating the query parsing behavior of the PHP parse_str.

See: http://us2.php.net/manual/en/function.parse-str.php

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Values

type Values url.Values

func ParseQuery

func ParseQuery(query string) (Values, error)

func ParseURLValues

func ParseURLValues(val url.Values) Values

func (Values) Get

func (v Values) Get(key string) string

func (Values) GetSub

func (v Values) GetSub(key string) Values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL