Documentation ¶
Overview ¶
Package util contains commun util functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString check if a slice contains a specific string
func JSONEncode ¶
func JSONEncode(metrics []FakeMetric) (string, error)
JSONEncode encodes a FakeMetric into json string
func RemoveString ¶
RemoveString remove a specifici string from a slice
Types ¶
Click to show internal directories.
Click to hide internal directories.