database

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(config *env.Config, logger *log.Logger) *ent.Client

MustNew ensure that a new ent.Client is created and panics if not.

func New

func New(config *env.Config, logger *log.Logger) (*ent.Client, error)

New returns a new instance of ent.Client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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