co_module

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModules

func NewModules[
	ITCompanyRes co_model.ICompanyRes,
	ITEmployeeRes co_model.IEmployeeRes,
	ITTeamRes co_model.ITeamRes,
	ITFdAccountRes co_model.IFdAccountRes,
	ITFdAccountBillRes co_model.IFdAccountBillRes,
	ITFdBankCardRes co_model.IFdBankCardRes,
	ITFdCurrencyRes co_model.IFdCurrencyRes,
	ITFdInvoiceRes co_model.IFdInvoiceRes,
	ITFdInvoiceDetailRes co_model.IFdInvoiceDetailRes,
](
	conf *co_model.Config,
	xDao *co_dao.XDao,
) (response co_interface.IModules[
	ITCompanyRes,
	ITEmployeeRes,
	ITTeamRes,
	ITFdAccountRes,
	ITFdAccountBillRes,
	ITFdBankCardRes,
	ITFdCurrencyRes,
	ITFdInvoiceRes,
	ITFdInvoiceDetailRes,
])

Types

type Modules

type Modules[
	TCompanyRes co_model.ICompanyRes,
	TEmployeeRes co_model.IEmployeeRes,
	TTeamRes co_model.ITeamRes,
	TFdAccountRes co_model.IFdAccountRes,
	TFdAccountBillRes co_model.IFdAccountBillRes,
	TFdBankCardRes co_model.IFdBankCardRes,
	TFdCurrencyRes co_model.IFdCurrencyRes,
	TFdInvoiceRes co_model.IFdInvoiceRes,
	TFdInvoiceDetailRes co_model.IFdInvoiceDetailRes,
] struct {
	co_interface.IConfig
	// contains filtered or unexported fields
}

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Account added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Account() co_interface.IFdAccount[TFdAccountRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) AccountBill added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) AccountBill() co_interface.IFdAccountBill[TFdAccountBillRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) BankCard added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) BankCard() co_interface.IFdBankCard[TFdBankCardRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Company

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Company() co_interface.ICompany[TCompanyRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Currency added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Currency() co_interface.IFdCurrency[TFdCurrencyRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Dao added in v0.1.105

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Dao() *co_dao.XDao

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Employee

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Employee() co_interface.IEmployee[TEmployeeRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) GetConfig

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) GetConfig() *co_model.Config

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Invoice added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Invoice() co_interface.IFdInvoice[TFdInvoiceRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) InvoiceDetail added in v0.1.112

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) InvoiceDetail() co_interface.IFdInvoiceDetail[TFdInvoiceDetailRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) My

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) My() co_interface.IMy

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) SetI18n

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) SetI18n(i18n *gi18n.Manager) error

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) T

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) T(ctx context.Context, content string) string

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Team

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Team() co_interface.ITeam[TTeamRes]

func (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) Tf

func (m *Modules[
	TCompanyRes,
	TEmployeeRes,
	TTeamRes,
	TFdAccountRes,
	TFdAccountBillRes,
	TFdBankCardRes,
	TFdCurrencyRes,
	TFdInvoiceRes,
	TFdInvoiceDetailRes,
]) Tf(ctx context.Context, format string, values ...interface{}) string

Tf is alias of TranslateFormat for convenience.

Jump to

Keyboard shortcuts

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