kv

package
v1.1.8-0...-5ee8a8c Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any map[interface{}]interface{}

Any key value support url signature such as k1=v1&k2=v2

func New

func New() Any

New new Any key type is interface and value type is interface

func (*Any) Join

func (c *Any) Join(sep string) string

Join returns e.g k1=v1&k2=v2

func (*Any) URL

func (c *Any) URL() string

URL returns k1=v1&k2=v2

type String

type String map[string]string

String KV for string

func NewString

func NewString() String

NewString new KS key type is string and value type is string

func (*String) Join

func (c *String) Join(sep string) string

Join returns e.g k1=v1&k2=v2

func (*String) URL

func (c *String) URL() string

URL returns k1=v1&k2=v2

type Stringer

type Stringer interface {
	String() string
}

Stringer String()

Jump to

Keyboard shortcuts

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