util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectJSONString

func ObjectJSONString(o interface{}) string

ObjectJSONString converts a struct to a JSON object with 2 space indent

func SliceContainsInt

func SliceContainsInt(s []int, num int) bool

SliceContainsInt returns if a slice contains a particular string

func SliceContainsString

func SliceContainsString(s []string, str string) bool

SliceContainsString returns if a slice contains a particular string

Types

This section is empty.

Jump to

Keyboard shortcuts

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