util

package
v0.0.0-...-0ce473a Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapStringAstIdentRemoveKeys

func MapStringAstIdentRemoveKeys(m map[string]*ast.Ident, keys []string)

func MapStringStringRemoveKeys

func MapStringStringRemoveKeys(m map[string]string, keys []string)

func PanicOnError

func PanicOnError(err error)

PanicOnError panics if err is not nil

func ReadFileAsStringOrPanic

func ReadFileAsStringOrPanic(filename string) string

func ToInt

func ToInt(s string) int

func WriteFileAsStringOrPanic

func WriteFileAsStringOrPanic(filename string, content string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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