flags

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0, NCSA Imports: 1 Imported by: 0

Documentation

Overview

Package flags provides type EncodingFlag for use as a flag to specify Encoding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodingFlag

type EncodingFlag struct {
	kzip.Encoding
}

EncodingFlag encapsulates an Encoding for use as a flag.

func (*EncodingFlag) Get

func (e *EncodingFlag) Get() any

Get implements part of the flag.Getter interface.

func (*EncodingFlag) Set

func (e *EncodingFlag) Set(v string) error

Set implements part of the flag.Value interface.

func (*EncodingFlag) String

func (e *EncodingFlag) String() string

String implements part of the flag.Value interface.

Jump to

Keyboard shortcuts

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