utils

package
v0.0.0-...-7a84625 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenUUID

func GenUUID() string

GenUUID returns a UUID

func GetRequiredCtxValueString

func GetRequiredCtxValueString(ctx context.Context, key interface{}) (string, error)

GetRequiredCtxValueString gets a string value out of a context, throwing if not set

func StringAfter

func StringAfter(value string, a string) string

StringAfter get substring after a string.

func StringInSlice

func StringInSlice(str string, list []string) bool

StringInSlice is string in slice?

Types

This section is empty.

Jump to

Keyboard shortcuts

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