repositories

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	AddMemory(quote string, author string, date time.Time) error
	CountMemories() (int64, error)
	GetRandomMemories() (models.Memory, error)
	PingDB() error
}

App of package

func New

func New(config Config, loggerApp logger.App, dbApp db.App) App

type Config

type Config struct{}

func GetConfig

func GetConfig(fs *flag.FlagSet) Config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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