repository

package
v0.0.0-...-a701c08 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRepository

type BaseRepository interface {
	GetTranslations() (*types.JsonTranslations, error)
	SaveTranslation(*types.JsonTranslations) error
}

type FirebaseRepository

type FirebaseRepository struct {
}

func NewFirebaseRepository

func NewFirebaseRepository() (*FirebaseRepository, error)

func (FirebaseRepository) GetTranslations

func (f FirebaseRepository) GetTranslations() (*types.JsonTranslations, error)

func (FirebaseRepository) SaveTranslation

func (f FirebaseRepository) SaveTranslation(translation *types.JsonTranslations) error

Jump to

Keyboard shortcuts

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