Strings

package
v0.0.0-...-a93fc24 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: GPL-2.0 Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(hay []string, needle string) bool

Contains returns true if the given string is within the array

func FormatJSON

func FormatJSON(jsonString string) string

FormatJSON formats the given string in pretty json

func IndexOf

func IndexOf(hay []string, needle string) int

IndexOf returns the index of a string in a string slice or -1 if not found

func UnmarshalJSONEvent

func UnmarshalJSONEvent(jsonString string) map[string]interface{}

UnmarshalJSONEvent expects a jsonstring and tries to create a object from it

Types

This section is empty.

Jump to

Keyboard shortcuts

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