args

package
v0.0.0-...-269dea4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package args implements the Args type and methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Debug   bool
	LogFile string
}

Args is a container of parsed command-line arguments.

func New

func New(dbug bool, logf string) *Args

New returns a new Args.

func NewParse

func NewParse(args []string) *Args

NewParse returns a new Args from parsed command-line arguments.

Jump to

Keyboard shortcuts

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