conf_dao

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config[T any, V any] struct {
	Config *T
}

template

func (*Config[T, V]) Build

func (c *Config[T, V]) Build() *V

func (*Config[T, V]) Init

func (c *Config[T, V]) Init()

type Dao

type Dao[T, V any] struct {
	Conf   Config[T, V]
	Entity *V
}

func (*Dao[T, V]) Close

func (d *Dao[T, V]) Close() error

func (*Dao[T, V]) Config

func (d *Dao[T, V]) Config() any

func (*Dao[T, V]) SetEntity

func (d *Dao[T, V]) SetEntity()

Directories

Path Synopsis
elastic
v7
v8
db

Jump to

Keyboard shortcuts

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