options

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Has

func Has[T comparable](option T, opts []T) bool

Has check if option is in the option list

Types

type ProviderOption

type ProviderOption int

ProviderOption is used to control how the providers operate

const (
	SkipCache ProviderOption
)

type TypeOption

type TypeOption int

TypeOption to handle provider kind

const (
	UseOffline TypeOption
	UseOnline
)

type WriteOpton

type WriteOpton int

WriteOpton to handle output controls

const (
	PrettyPrint WriteOpton
)

Jump to

Keyboard shortcuts

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