Versions in this module Expand all Collapse all v0 v0.0.2 Nov 2, 2023 v0.0.1 Nov 2, 2023 Changes in this version + type Cache struct + Ctx context.Context + ICache interface{} + RedisClient *redis.Client + TestDataMap map[string]interface{} + TestDataSlice []interface{} + func NewCache(testDataMap map[string]interface{}) *Cache + func (c *Cache) Close() + func (c *Cache) GetIDs() []uint64 + func (c *Cache) GetTestData() map[string]interface{} + type Dao struct + AnyTime *anyTime + Cache *Cache + Ctx context.Context + DB *gorm.DB + IDao interface{} + SQLMock sqlmock.Sqlmock + TestData interface{} + func NewDao(c *Cache, testData interface{}) *Dao + func (d *Dao) Close() + func (d *Dao) GetAnyArgs(obj interface{}) []driver.Value + type Handler struct + Engine *gin.Engine + HTTPServer *http.Server + IHandler interface{} + MockDao *Dao + TestData interface{} + func NewHandler(dao *Dao, testData interface{}) *Handler + func (h *Handler) Close() + func (h *Handler) GetRequestURL(funcName string, pathVal ...interface{}) string + func (h *Handler) GoRunHTTPServer(fns []RouterInfo) + type RouterInfo struct + FuncName string + HandlerFunc gin.HandlerFunc + Method string + Path string + type Service struct + Ctx context.Context + IServiceClient interface{} + MockDao *Dao + Server *grpc.Server + TestData interface{} + func NewService(dao *Dao, testData interface{}) *Service + func (s *Service) Close() + func (s *Service) GetClientConn() *grpc.ClientConn + func (s *Service) GoGrpcServer()