gorms

package
v1.0.51 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 9 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