resources

package
v0.0.0-...-e07d34e Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBytes

func FromBytes(data []byte) (*nuggit.Resource, error)

FromBytes decodes a Resource from the given byte slice. Checksums are ignored.

func FromFile

func FromFile(filename string) (*nuggit.Resource, error)

FromFile decodes a Resource from the given local file. Checksums are ignored.

func ReadGraph

func ReadGraph(filename string) (*nuggit.Graph, error)

ReadGraph reads a graph from a JSON file containing either a Resource or Graph definition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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