application

package
v4.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	// DefaultFlagSet returns a `flag.FlagSet` instance with required flags and their default values assigned.
	DefaultFlagSet(context.Context) (*flag.FlagSet, error)
	// Run will run the code implementing the `Application` interface using a default flag set.
	Run(context.Context) error
	// Run will run the code implementing the `Application` interface using a custom flag set.
	RunWithFlagSet(context.Context, *flag.FlagSet) error
}

type Application defines a common interface for command-line applications.

Directories

Path Synopsis
package browser implements the application.Application interface for whosonfirst-browser web application.
package browser implements the application.Application interface for whosonfirst-browser web application.

Jump to

Keyboard shortcuts

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