util

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: LGPL-3.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractBinaryFromStdIn

func ExtractBinaryFromStdIn() (string, error)

func GetVersionMetadata added in v1.18.0

func GetVersionMetadata(versionString string) string

func GetVersionWithoutMetadata added in v1.18.0

func GetVersionWithoutMetadata(versionString string) string

func IsFullSemanticVersion added in v1.16.0

func IsFullSemanticVersion(versionString string) bool

func IsSemanticVersion added in v1.16.0

func IsSemanticVersion(versionString string) bool

func IsSemanticVersionWithMeta added in v1.18.0

func IsSemanticVersionWithMeta(versionString string) bool

Types

type FileWriter

type FileWriter func(WriterFunc, ...string) error

func NewFileWriter

func NewFileWriter(targetFolder string) FileWriter

type WriterFunc

type WriterFunc func(io.Writer) error

func NewByteWriter added in v1.4.0

func NewByteWriter(data []byte) WriterFunc

func NewTemplateWriter

func NewTemplateWriter(input interface{}, templatename string, templateString string) WriterFunc

Jump to

Keyboard shortcuts

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