Files
2025-10-15 15:49:05 +07:00

24 lines
606 B
Go

/*
DESCRIPTION:
A sample, part of the package that contains type, constants, and/or variables.
In this sample it also provides type and variable regarding the needs of the
middleware to separate from main use-case which has the basic CRUD
functionality. The purpose of this is to make the code more maintainable.
*/
package reference
import (
"gorm.io/gorm"
e "simrs-vx/internal/domain/bpjs-entities/reference"
)
type readListMw struct {
Name string
Func func(input *e.ReadListDto, data *e.Response, tx *gorm.DB) error
}
var readListPreMw []readListMw // ..
var readListPostMw []readListMw // ..