gorms

package
v0.4.32 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package gorms 数据库操作.

日志

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGormLogger

func NewGormLogger(slows ...time.Duration) logger.Interface

func NewMemDB added in v0.3.20

func NewMemDB() *gorm.DB

func NewMysqlDB added in v0.3.20

func NewMysqlDB(dsn string) *gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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