util

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateID

func GenerateID() string

GenerateID generates a random unique id.

func InStringSlice

func InStringSlice(ss []string, str string) bool

InStringSlice checks whether a string is inside a string slice. Comparison is case insensitive.

func SubstractStringSlice

func SubstractStringSlice(ss []string, str string) []string

SubstractStringSlice substracts string from string slice. Comparison is case insensitive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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