util

package
v0.0.0-...-fc37c74 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DB_USER     = "1"
	DB_PASSWORD = ""
	DB_NAME     = "temporal_example"
)

Variables

View Source
var DatabaseErrorType = errors.New("database error")
View Source
var ProcessingErrorType = errors.New("processing error")

Functions

func NewZeroLogForName

func NewZeroLogForName(name, id, level string) zerolog.Logger

Types

type DB

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

func (*DB) Conn

func (db *DB) Conn() *gorm.DB

func (*DB) Connect

func (db *DB) Connect() error

Jump to

Keyboard shortcuts

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