svc

package
v0.0.0-...-8625c6b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

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