generalservice

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

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 FindBeanGeneralService

func FindBeanGeneralService() *GeneralService

FindBeanGeneralService

func NewGeneralService

func NewGeneralService() *GeneralService

func (*GeneralService) GetDB

func (this *GeneralService) GetDB() *gorm.DB

type IBaseService

type IBaseService interface {
}

Jump to

Keyboard shortcuts

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