Version: v0.3.0 Latest Latest

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0



Package internal Code generated by go-bindata. (@generated) DO NOT EDIT. sources: template/base.tmpl template/builder/create.tmpl template/builder/delete.tmpl template/builder/mutation.tmpl template/builder/query.tmpl template/builder/setter.tmpl template/builder/update.tmpl template/client.tmpl template/config.tmpl template/context.tmpl template/dialect/gremlin/by.tmpl template/dialect/gremlin/create.tmpl template/dialect/gremlin/decode.tmpl template/dialect/gremlin/delete.tmpl template/dialect/gremlin/errors.tmpl template/dialect/gremlin/globals.tmpl template/dialect/gremlin/group.tmpl template/dialect/gremlin/meta.tmpl template/dialect/gremlin/open.tmpl template/dialect/gremlin/predicate.tmpl template/dialect/gremlin/query.tmpl template/dialect/gremlin/select.tmpl template/dialect/gremlin/update.tmpl template/dialect/sql/by.tmpl template/dialect/sql/create.tmpl template/dialect/sql/decode.tmpl template/dialect/sql/delete.tmpl template/dialect/sql/errors.tmpl template/dialect/sql/globals.tmpl template/dialect/sql/group.tmpl template/dialect/sql/meta.tmpl template/dialect/sql/open.tmpl template/dialect/sql/predicate.tmpl template/dialect/sql/query.tmpl template/dialect/sql/select.tmpl template/dialect/sql/tx.tmpl template/dialect/sql/update.tmpl template/ent.tmpl template/enttest.tmpl template/header.tmpl template/hook.tmpl template/import.tmpl template/meta.tmpl template/migrate/migrate.tmpl template/migrate/schema.tmpl template/predicate.tmpl template/privacy.tmpl template/runtime.tmpl template/tx.tmpl template/where.tmpl



This section is empty.


This section is empty.


func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:


then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto