repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryRepository

type CategoryRepository struct{}

func NewCategoryRepository

func NewCategoryRepository() *CategoryRepository

func (*CategoryRepository) GetByID

func (r *CategoryRepository) GetByID(ID uint) (types.Category, error)

func (*CategoryRepository) ReadFile

func (r *CategoryRepository) ReadFile() ([]types.Category, error)

type FastingRepository

type FastingRepository struct{}

func NewFastingRepository

func NewFastingRepository() *FastingRepository

func (*FastingRepository) ReadFile

func (r *FastingRepository) ReadFile() ([]types.Fasting, error)

type SourceRepository

type SourceRepository struct{}

func NewSourceRepository

func NewSourceRepository() *SourceRepository

func (*SourceRepository) ReadFile

func (r *SourceRepository) ReadFile() ([]types.Source, error)

type TypesRepository

type TypesRepository struct{}

func NewTypesRepository

func NewTypesRepository() *TypesRepository

func (*TypesRepository) GetByID

func (r *TypesRepository) GetByID(ID uint) (types.Type, error)

func (*TypesRepository) ReadFile

func (r *TypesRepository) ReadFile() ([]types.Type, error)

Jump to

Keyboard shortcuts

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