Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(key string) (generaliface.ServiceIface, bool)
func InjectGeneralService ¶
func InjectGeneralService(s *GeneralService)
func LoadGeneralService ¶
func LoadGeneralService() baseiface.ISingleton
func Register ¶
func Register(key string, s generaliface.ServiceIface)
Types ¶
type Factroy ¶
type Factroy struct {
// contains filtered or unexported fields
}
func NewFactroy ¶
func NewFactroy() *Factroy
func (*Factroy) Get ¶
func (this *Factroy) Get(key string) (generaliface.ServiceIface, bool)
func (*Factroy) Register ¶
func (this *Factroy) Register(key string, web generaliface.ServiceIface)
type GeneralService ¶
type GeneralService struct { basedto.BaseEntity *generaldao.BaseDao[int64, *model.MetadataColumns] }
func NewGeneralService ¶
func NewGeneralService() *GeneralService
func (*GeneralService) GetDB ¶
func (this *GeneralService) GetDB() *gorm.DB
type IBaseService ¶
type IBaseService interface { }
Click to show internal directories.
Click to hide internal directories.