decode

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func added in v0.3.1

type Func func(out interface{}) ([]byte, error)

Func will decode into the supplied object.

func DecoderForURL

func DecoderForURL(u *url.URL) (d Func, err error)

DecoderForURL returns the appropriate decoder for a given URL. Some URLs have special handling to dereference to the actual file.

type SchemaRelationships

type SchemaRelationships struct {
	Schema        string `yaml:"schema"`
	Relationships string `yaml:"relationships"`
}

SchemaRelationships holds the schema (as a string) and a list of relationships (as a string) in the format from the devtools download API.

Jump to

Keyboard shortcuts

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