dao

package
v0.0.0-...-032cc0f Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewQuery, New)

Functions

func NewQuery

func NewQuery(c *conf.Data) *query.Query

Types

type Dao

type Dao interface {
	Ping(ctx context.Context) (err error)
}

Dao dao interface

func New

func New(c *conf.Data, q *query.Query) (d Dao, cb func(), err error)

New new a dao and return.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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