_example

package
v0.0.0-...-5891a38 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAmqpConnStr = "amqp://user:62qJWqxMVV@localhost:5672/final_test"
View Source
const DefaultMysqlConnStr = "root:xLrFGAzed3@tcp(localhost:3306)/final_test?parseTime=true&loc=Asia%2FShanghai&charset=utf8mb4"

Variables

This section is empty.

Functions

func InitLocalBusiness

func InitLocalBusiness()

func NewAmqp

func NewAmqp() mq.IProvider

func NewDB

func NewDB() *sql.DB

func NewGormDB

func NewGormDB() *gorm.DB

Types

type LocalBusiness

type LocalBusiness struct {
	Id     int64
	Remark string
}

func (LocalBusiness) TableName

func (LocalBusiness) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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