data

package
v0.0.0-...-cb92cc7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewEntityRepoImpl

func NewEntityRepoImpl(client *DatabaseClient, logger log.Logger) biz.EntityRepo

NewEntityRepoImpl 构造函数 TODO 这个函数名改不改都行。无论是否修改,都需要删除该TODO。

Types

type DatabaseClient

type DatabaseClient struct {
}

DatabaseClient 数据客户端包装器

func NewDatabaseClient

func NewDatabaseClient(conf *conf.Data, logger log.Logger) (*DatabaseClient, func(), error)

NewDatabaseClient 是DatabaseClient构造函数

type EntityRepoImpl

type EntityRepoImpl struct {
	// contains filtered or unexported fields
}

EntityRepoImpl 实体的读/写/查询操作接口实现。 TODO 'EntityRepo'需要替换为对应的接口名,后缀统一为Impl

Jump to

Keyboard shortcuts

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