database

package
Version: v4.8.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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