...
Package bindata
- Variables
- func WithInstance(instance interface{}) (source.Driver, error)
- type AssetFunc
- type AssetSource
- func Resource(names []string, afn AssetFunc) *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) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)
- func (b *Bindata) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)
Package files
go-bindata.go
Variables
var (
ErrNoAssetSource = fmt.Errorf("expects *AssetSource")
)
func WithInstance(instance interface{}) (source.Driver, error)
type AssetFunc func(name string) ([]byte, error)
type AssetSource struct {
Names []string
AssetFunc AssetFunc
}
func Resource(names []string, afn AssetFunc) *AssetSource
type Bindata struct {
}
func (*Bindata) Close
¶
func (b *Bindata) Close() error
func (*Bindata) First
¶
func (b *Bindata) First() (version uint, err error)
func (*Bindata) Next
¶
func (b *Bindata) Next(version uint) (nextVersion uint, err error)
func (*Bindata) Open
¶
func (b *Bindata) Open(url string) (source.Driver, error)
func (*Bindata) Prev
¶
func (b *Bindata) Prev(version uint) (prevVersion uint, err error)
func (b *Bindata) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)
func (*Bindata) ReadUp
¶
func (b *Bindata) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)
Subdirectories