database

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: AGPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetStore

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

func NewAssetStore

func NewAssetStore(db *gorm.DB) *AssetStore

func (*AssetStore) GetByAssetID

func (a *AssetStore) GetByAssetID(assetID string) (*orm.Asset, error)

func (*AssetStore) GetByOrmID

func (a *AssetStore) GetByOrmID(ormID uint64) (*orm.Asset, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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