Help us shape the future of Go! Take the 2026 Go Developer Survey

helper

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertOutput

func AssertOutput(t *testing.T, expected, actual interface{})

func ContainsAll added in v0.14.0

func ContainsAll(target string, substrings ...string) gotestcmp.Comparison

ContainsAll is a comparison utility, compares given substrings against target string and returns the gotest.tools/assert/cmp.Comparison function. Provide target string as first arg, followed by any number of substring as args

func GetResourcePath

func GetResourcePath(elem ...string) string

func Process

func Process(t *template.Template, vars interface{}) string

func ProcessString

func ProcessString(str string, vars interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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