Documentation
¶
Overview ¶
* @Author: lihuan * @Date: 2021-12-13 21:10:21 * @LastEditors: lihuan * @LastEditTime: 2021-12-16 22:28:21 * @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 UserDao *dao.UserDao }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.