repo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 9 Imported by: 0

README

Repo

  • 提供了数据仓储接口和实现

目录结构

  • gen: Shell脚本,从数据库自动成产本地代码
  • knit:自定义的Join对象,即Models的组合对象
  • models: gen的代码生成目录,即数据库实体

Documentation

Index

Constants

This section is empty.

Variables

Mysql数据引擎

View Source
var PG *xorm.EngineGroup // 集群模式

Postgres数据引擎 var PG *xorm.Engine // 单机模式

View Source
var Rds []redis.Conn

Redis数据库

Functions

func GetValue

func GetValue(key string) (string, error)

func Init

func Init()

func SetValue

func SetValue(key, val string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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