repository

package
v0.0.0-...-fc9a958 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_PATH_NOT_FOUND = errors.New("path not found")
)

Functions

This section is empty.

Types

type ParentDirectoryObjectBoxRepository

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

func (ParentDirectoryObjectBoxRepository) Delete

func (ParentDirectoryObjectBoxRepository) DeleteByPath

func (repo ParentDirectoryObjectBoxRepository) DeleteByPath(path string) error

func (ParentDirectoryObjectBoxRepository) GetAll

func (ParentDirectoryObjectBoxRepository) Put

func (parentDirRepo ParentDirectoryObjectBoxRepository) Put(parentDir model.ParentDirectory) (uint64, error)

type ParentDirectoryRepository

type ParentDirectoryRepository interface {
	Put(model.ParentDirectory) (uint64, error)
	GetAll() ([]*model.ParentDirectory, error)
	Delete(model.ParentDirectory) error
	DeleteByPath(string) error
}

func NewParentDirectoryObjectBoxRepository

func NewParentDirectoryObjectBoxRepository(objectbox *objectbox.ObjectBox) ParentDirectoryRepository

Jump to

Keyboard shortcuts

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