datastore

package
v0.0.0-...-3022673 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 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 PaymentDatabase

type PaymentDatabase struct{}

PaymentDatabase は支払情報関連のデータストアの構造体です

func (*PaymentDatabase) GetAll

func (d *PaymentDatabase) GetAll() (payments []*domains.Payment, err error)

GetAll は支払情報を全件取得します

type PaymentDatastore

type PaymentDatastore interface {
	GetAll() ([]*domains.Payment, error)
}

PaymentDatastore は支払情報関連のデータストアです

func NewPaymentDatastore

func NewPaymentDatastore() PaymentDatastore

NewPaymentDatastore はPaymentDatabaseを返します

Jump to

Keyboard shortcuts

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