utils

package
v0.1.5-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMap

func ParseMap(s string, namevalSep, tuplesSep rune) (res map[string]string, err error)

ParseMap returns parsed key/val map

Types

type Options

type Options map[string]interface{}

func (Options) GetBool

func (o Options) GetBool(name string) (val bool, ok bool, err error)

func (Options) GetInt

func (o Options) GetInt(name string) (val int64, ok bool, err error)

func (Options) GetString

func (o Options) GetString(name string) (val string, ok bool, err error)

Jump to

Keyboard shortcuts

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