transformer

package
v0.0.0-...-c061cf9 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccountFromHTTPCreateAccount

func NewAccountFromHTTPCreateAccount(in httpaccount.CreateAccount) account.Account

func NewAccountFromProtoCreateAccount

func NewAccountFromProtoCreateAccount(in *servicev1.CreateAccountRequest) account.Account

func NewAccountFromRepoAccount

func NewAccountFromRepoAccount(in repository.Account) account.Account

func NewAmountFromHTTPAmount

func NewAmountFromHTTPAmount(in httpamount.Amount) (amount.Amount, error)

func NewAmountFromProtoAmount

func NewAmountFromProtoAmount(in *modelv1.Amount) amount.Amount

func NewAmountFromRepoAmount

func NewAmountFromRepoAmount(in repository.Amount) amount.Amount

func NewEntryFromHTTPCreateEntry

func NewEntryFromHTTPCreateEntry(in httptransaction.CreateEntry) (transaction.Entry, error)

func NewEntryFromProtoCreateEntry

func NewEntryFromProtoCreateEntry(in *servicev1.CreateEntry) transaction.Entry

func NewEntryFromRepoEntry

func NewEntryFromRepoEntry(in repository.Entry) transaction.Entry

func NewHTTPAccountFromAccount

func NewHTTPAccountFromAccount(in account.Account) httpaccount.Account

func NewHTTPAmountFromAmount

func NewHTTPAmountFromAmount(in amount.Amount) httpamount.Amount

func NewHTTPEntryFromEntry

func NewHTTPEntryFromEntry(in transaction.Entry) httptransaction.Entry

func NewProtoAccountFromAccount

func NewProtoAccountFromAccount(in account.Account) *modelv1.Account

func NewProtoAmountFromAmount

func NewProtoAmountFromAmount(in amount.Amount) *modelv1.Amount

func NewProtoEntryFromEntry

func NewProtoEntryFromEntry(in transaction.Entry) *modelv1.Entry

func NewProtoTransactionFromTransaction

func NewProtoTransactionFromTransaction(in transaction.Transaction) *modelv1.Transaction

func NewRepoAccountFromAccount

func NewRepoAccountFromAccount(in account.Account) repository.Account

func NewRepoAmountFromAmount

func NewRepoAmountFromAmount(in amount.Amount) repository.Amount

func NewRepoEntryFromEntry

func NewRepoEntryFromEntry(in transaction.Entry) repository.Entry

func NewRepoTransactionFromTransaction

func NewRepoTransactionFromTransaction(in transaction.Transaction) repository.Transaction

func NewTransactionFromRepoTransaction

func NewTransactionFromRepoTransaction(in repository.Transaction) transaction.Transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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