db

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SqlServerKey = "YXMEDICAL_SOFTWARE_SQLSERVER____"

Variables

View Source
var (
	// 数据库对象
	DB *gorm.DB
)

Functions

func InitDB

func InitDB()

初始化表

func InitData

func InitData()

初始化数据

func InitSqlServer

func InitSqlServer()

InitSqlServer 初始化sqlserver数据库

func InitTable

func InitTable()

初始化表

Types

type Writer

type Writer struct{}

func (Writer) Printf

func (w Writer) Printf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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