Documentation ¶
Overview ¶
* @Author: lihuan * @Date: 2021-12-18 12:48:16 * @LastEditors: lihuan * @LastEditTime: 2021-12-21 20:23:26 * @Email: 17719495105@163.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config DB *gorm.DB RedisDB *redis.Redis ProductDao *dao.ProductDao }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.