params

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(params map[string]interface{}, key string, val interface{}) error

Add adds the given key/value pair to the given map[string]interface{}, but complex keys that specify an index (for multi-valued / array parameters) have their values added to that map as a []interface{} under that key. That slice is re-sized as needed.

func Parse

func Parse(rawParamStr string) (string, string, error)

Parse splits a single param into key and value components, using "=" as a delimiter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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