data

package
v0.0.0-...-9def770 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 8 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewGormDB

func NewGormDB(conf *conf.Data, logger log.Logger) *gorm.DB

func NewGreeterRepo

func NewGreeterRepo(data *Data, logger log.Logger) biz.GreeterRepo

NewGreeterRepo .

func NewPolicyRepo

func NewPolicyRepo(data *Data, logger log.Logger) biz.PolicyRepo

NewGreeterRepo .

func NewSecretRepo

func NewSecretRepo(data *Data, logger log.Logger) biz.SecretRepo

NewGreeterRepo .

func NewUserRepo

func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo

NewGreeterRepo .

Types

type Data

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

Data .

func NewData

func NewData(c *conf.Data, db *gorm.DB, logger log.Logger) (*Data, func(), error)

NewData .

Jump to

Keyboard shortcuts

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