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-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

Jump to

Keyboard shortcuts

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