nestedtypeassembler

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package nestedtypeassembler takes a collection of form.Pair tuples and uses them to construct more complex data types using "Rack-style" conventions for arrays and maps with a few small Stripe-specific tweaks.

When processing a request, data should first be parsed from the query, form, or multipart form, handed off to this package for assembly, then passed on the coercer to coerce string to other expected types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleParams

func AssembleParams(form form.Values) (map[string]interface{}, error)

AssembleParams takes a collection of form.Pair tuples and translates them to parameter map that includes complex data types like arrays and other nested maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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