src

package
v0.0.0-...-030bc45 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFlags

func ParseFlags(flagSet interface{}, args []string)

ParseFlags walks through the given arguments and sets the flagSet values present in the argument list. Unknown options, not present in the flagSet are accepted and skipped. The argument list is not modified.

func ParseFlagsUntilFirstNonOptionArg

func ParseFlagsUntilFirstNonOptionArg(flagSet interface{}, args []string) int

Types

type InstrumentationToolFlagSet

type InstrumentationToolFlagSet struct {
	Help       bool   `evoflag:"-h"`
	Verbose    bool   `evoflag:"-v"`
	Full       bool   `evoflag:"-full"`
	PathPrefix string `evoflag:"-path-prefix"`
}

Jump to

Keyboard shortcuts

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