church

package
v0.0.0-...-5863de9 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetByID(ID string) (*domain.Church, error)
	List() ([]*domain.Church, error)
}

func NewRepository

func NewRepository(api wrapper.DynamoDBAPI, table string) Repository

type Service

type Service interface {
	List() ([]*domain.Church, error)
	GetChurch(id string) (*domain.Church, error)
}

func NewService

func NewService(repo Repository) Service

Directories

Path Synopsis
Package mock_church is a generated GoMock package.
Package mock_church is a generated GoMock package.

Jump to

Keyboard shortcuts

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