spec: github.com/appc/spec/schema/common Index | Files

package common

import "github.com/appc/spec/schema/common"

Index

Package Files

common.go

func MakeQueryString Uses

func MakeQueryString(app string) (string, error)

MakeQueryString takes a comma-separated LABEL=VALUE string and returns an "&"-separated string with URL escaped values.

Examples:

version=1.0.0,label=v1+v2 -> version=1.0.0&label=v1%2Bv2
name=db,source=/tmp$1 -> name=db&source=%2Ftmp%241

Package common imports 3 packages (graph) and is imported by 12 packages. Updated 2016-07-24. Refresh now. Tools for package owners.