utils

package
v0.0.0-...-c54e3d4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCwd

func GetCwd() string

GetCwd returns the current working directory and panics on errors.

func Must

func Must(err error)

Must panics if the error is not nil

func SHA1Hash

func SHA1Hash(input string) string

func SHA512Hash

func SHA512Hash(input string) string

func StringSliceContains

func StringSliceContains(s []string, e string) bool

func ToValidUTF8

func ToValidUTF8(value string) string

Types

This section is empty.

Directories

Path Synopsis
Package merge provides a utility for merging structs of different types using reflection Borrowed from https://stackoverflow.com/a/45258790/1562480 written by Pavlo Strokov
Package merge provides a utility for merging structs of different types using reflection Borrowed from https://stackoverflow.com/a/45258790/1562480 written by Pavlo Strokov

Jump to

Keyboard shortcuts

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