mysql

package
v0.0.0-...-7d6f566 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMysqlClient

func CreateMysqlClient(dsn string) (client *ent.Client, drv *sql.Driver)

func Rollback

func Rollback(tx *ent.Tx, err error) error

Rollback calls to tx.Rollback and wraps the given error with the rollback error if occurred.

func SaltHash

func SaltHash(content []byte, salt []byte) ([]byte, error)

SaltHash hashes a content with a given salt

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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