impl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyGDb

func CopyGDb(gdb *gorm.DB, sos ...ServerOption) standard.IBuilder

func CopySDb

func CopySDb(sdb *sql.DB, sos ...ServerOption) standard.IBuilder

func NewGDb

func NewGDb() standard.Connecter

func NewSDb

func NewSDb() standard.Connecter

Types

type ServerOption

type ServerOption func(*options)

为可选参数赋值的函数

func WithIsWrite

func WithIsWrite(isWrite bool) ServerOption

是否为写库

func WithTxCount

func WithTxCount(count uint32) ServerOption

事物统计

Jump to

Keyboard shortcuts

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