db

package
v0.0.0-...-4e35581 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDb

func GetDb(dbName string) (db *gorm.DB)

GetDb ...

Types

type GoChat

type GoChat struct {
}

GoChat ...

func (*GoChat) GetDbName

func (*GoChat) GetDbName() string

GetDbName ...

type User

type User struct {
	ID         uint64    `gorm:"user_id"`
	Name       string    `gorm:"user_name"`
	Pwd        string    `gorm:"password"`
	CreateTime time.Time `gorm:"create_time"`
}

User ...

Jump to

Keyboard shortcuts

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