decoders

package
v0.0.0-...-63c3a42 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFile

func DecodeFile(filename string, value interface{}) error

func FindAndDecodeFile

func FindAndDecodeFile(basename string, value interface{}) error

func RegisterDecoder

func RegisterDecoder(extension string, decoderGenerator DecoderGenerator)

Types

type Decoder

type Decoder interface {
	Decode(value interface{}) error
}

type DecoderGenerator

type DecoderGenerator func(r io.Reader) Decoder

Jump to

Keyboard shortcuts

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