Documentation
¶
Index ¶
- func AsSha256(o interface{}) (string, error)
- func IndexOfString(needle string, haystack []string) int
- func Sha256Equal(a, b interface{}) (bool, error)
- func Sha256Sum(b []byte) string
- func SliceContainsString(slice []string, s string) bool
- func SliceRemoveString(slice []string, s string) (result []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexOfString ¶ added in v0.2.0
IndexOfString returns the index of the needle in the haystack
func Sha256Equal ¶
func SliceContainsString ¶
SliceContainsString returns true when s is found in the slice
func SliceRemoveString ¶
SliceRemoveString removes s from the slice and returns a new slice without s
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.