buildtags

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(tags string) ([]string, error)

Parse parses the given tags string and returns a cleaned slice of strings. Both comma and space delimeted tags are supported but not mixed. If mixed, an error is returned.

func Stringify

func Stringify(tags []string) string

Stringify converts the given tags slice to a string compatible with the go build -tags flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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