util

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlagOut

func FlagOut(flag string, show bool) string

FlagOut ...

func GetFirstPathMatches

func GetFirstPathMatches(path []string) string

GetFirstPathMatches returns the first path that is available.

func HasOption

func HasOption(options map[string]bool, option ...string) bool

HasOption checks if one of the given option elements is set.

func NewTextTemplate

func NewTextTemplate(content string) *text.Template

NewTextTemplate ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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