datasource

package
v0.0.0-...-3f08e25 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB
View Source
var MovieID int64 = 3
View Source
var Movies = map[int64]*datamodels.Movie{
	1: {
		Title:       "电影01",
		Description: "描述01",
	},
	2: {
		Title:       "电影02",
		Description: "描述02",
	},
	3: {
		Title:       "电影03",
		Description: "描述03",
	},
}

Functions

func Close

func Close()

func SaveMessage

func SaveMessage(msg *datamodels.Message)

Types

This section is empty.

Jump to

Keyboard shortcuts

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