assets

package
v0.0.0-...-f6934af Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	// contains filtered or unexported fields
}

func ParseManifest

func ParseManifest(dev bool, box *packr.Box) (*Manifest, error)

func (*Manifest) Contents

func (m *Manifest) Contents(name string) ([]byte, error)

Contents returns a byte slice of the given file name, or an error if it wasn't found.

The file name needs to be relative, not absolute

func (*Manifest) FullyQualified

func (m *Manifest) FullyQualified(name string) (string, error)

func (*Manifest) String

func (m *Manifest) String() string

Jump to

Keyboard shortcuts

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