decode

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Package decode provides decoders for output of a runner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	// Decode decodes the data in reader to structure in the second
	// argument of the method.
	Decode(io.Reader, any) error
}

Decoder defines a decoder.

func JSON

func JSON() Decoder

JSON creates a JSON decoder.

Jump to

Keyboard shortcuts

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