Documentation ¶
Index ¶
- Variables
- func WithInstance(instance interface{}) (source.Driver, error)
- type AssetFunc
- type AssetSource
- type Bindata
- func (b *Bindata) Close() error
- func (b *Bindata) First() (version uint, err error)
- func (b *Bindata) Next(version uint) (nextVersion uint, err error)
- func (b *Bindata) Open(url string) (source.Driver, error)
- func (b *Bindata) Prev(version uint) (prevVersion uint, err error)
- func (b *Bindata) ReadAny(relativeFilepath string) (io.ReadCloser, error)
- func (b *Bindata) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)
- func (b *Bindata) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoAssetSource = fmt.Errorf("expects *AssetSource")
)
Functions ¶
func WithInstance ¶
Types ¶
type AssetSource ¶
func Resource ¶
func Resource(names []string, afn AssetFunc) *AssetSource
Click to show internal directories.
Click to hide internal directories.