slice

package
v9.1.81+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToStringToInterface

func ConvertToStringToInterface(badMap map[interface{}]interface{}) map[string]interface{}

ConvertToStringToInterface recursively converts map[interface{}]interface to map[string]interface{}. This is for marshalling to json, and exists because yaml unmarshals objects as map[interface{}]interface{}

func RemoveStringDups

func RemoveStringDups(intSlice []string) []string

RemoveStringDups returns a new slice without duplicate items

Types

This section is empty.

Jump to

Keyboard shortcuts

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