Versions in this module Expand all Collapse all v1 v1.8.2 Jan 9, 2024 v1.8.1 Jan 9, 2024 Changes in this version + type MapperCommon interface + MapDomainToModels func() ModelsCommon + MapModelsToDomain func(entityStruct interface{}) + type ModelsCommon interface + GetColumns func() []string + GetModels func() interface{} + GetModelsMap func() map[string]interface{} + GetTableName func() string + GetValStruct func(arrColumn []string) []interface{} + type NgetesRepository interface + Get func(ctx context.Context, query utils.QueryBuilderInteractor) (*entity.Ngetes, error) + GetCount func(ctx context.Context, query utils.QueryBuilderInteractor) (int, error) + GetList func(ctx context.Context, query utils.QueryBuilderInteractor) ([]*entity.Ngetes, error) + Save func(ctx context.Context, data *entity.Ngetes) error + Update func(ctx context.Context, id string, data *entity.Ngetes) error + type SqlTx interface + BeginTx func(ctx context.Context, operation func(ctx context.Context, repo *Wrapper) error) error + DB func() *sql.DB + Session func() *database.TX + Wrapper func() *Wrapper + type TesBaruRepository interface + Delete func(ctx context.Context, id string) error + Get func(ctx context.Context, query utils.QueryBuilderInteractor) (*entity.TesBaru, error) + GetCount func(ctx context.Context, query utils.QueryBuilderInteractor) (int, error) + GetList func(ctx context.Context, query utils.QueryBuilderInteractor) ([]*entity.TesBaru, error) + Save func(ctx context.Context, data *entity.TesBaru) error + Update func(ctx context.Context, id string, data *entity.TesBaru) error + type Wrapper struct + NgetesRepo NgetesRepository + TesBaruRepo TesBaruRepository