flags

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0, NCSA Imports: 1 Imported by: 4

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() interface{}

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