Documentation ¶
Index ¶
- func NewModules[ITCompanyRes co_model.ICompanyRes, ITEmployeeRes co_model.IEmployeeRes, ...](conf *co_model.Config, xDao *co_dao.XDao) (response ...)
- type Modules
- func (m ...) Account() co_interface.IFdAccount[TFdAccountRes]
- func (m ...) AccountBill() co_interface.IFdAccountBill[TFdAccountBillRes]
- func (m ...) BankCard() co_interface.IFdBankCard[TFdBankCardRes]
- func (m ...) Company() co_interface.ICompany[TCompanyRes]
- func (m ...) Currency() co_interface.IFdCurrency[TFdCurrencyRes]
- func (m ...) Dao() *co_dao.XDao
- func (m ...) Employee() co_interface.IEmployee[TEmployeeRes]
- func (m ...) GetConfig() *co_model.Config
- func (m ...) Invoice() co_interface.IFdInvoice[TFdInvoiceRes]
- func (m ...) InvoiceDetail() co_interface.IFdInvoiceDetail[TFdInvoiceDetailRes]
- func (m ...) My() co_interface.IMy
- func (m ...) SetI18n(i18n *gi18n.Manager) error
- func (m ...) T(ctx context.Context, content string) string
- func (m ...) Team() co_interface.ITeam[TTeamRes]
- func (m ...) Tf(ctx context.Context, format string, values ...interface{}) string
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 (*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 (*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 (*Modules[TCompanyRes, TEmployeeRes, TTeamRes, TFdAccountRes, TFdAccountBillRes, TFdBankCardRes, TFdCurrencyRes, TFdInvoiceRes, TFdInvoiceDetailRes]) T ¶
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.
Click to show internal directories.
Click to hide internal directories.