db

package
v0.0.0-...-f216149 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Ctx    context.Context
	Client *ent.Client
}

func GetConnection

func GetConnection() *Connection

func (*Connection) AutoMigrate

func (c *Connection) AutoMigrate()

func (*Connection) Close

func (c *Connection) Close()

func (*Connection) Open

func (c *Connection) Open() error

Jump to

Keyboard shortcuts

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