file

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

Loader loads file by key from path

func NewLoader

func NewLoader(path string) (*Loader, error)

NewLoader inits new instance

func (*Loader) Info

func (l *Loader) Info() string

Info returns info about loader

func (*Loader) TakeWav

func (l *Loader) TakeWav(name string) ([]byte, error)

TakeWav loads file from path using the provided name

Jump to

Keyboard shortcuts

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