parameter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyString = errors.New("string is empty")

Functions

func FromString

func FromString(s string, param interface{}) (err error)

FromString injects and converts a string value into a spefific typed value if a panic occurred then return an error if the param is nil then return an error

func ToString

func ToString(param interface{}) string

ToString converts a given value into an string

Types

This section is empty.

Jump to

Keyboard shortcuts

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