//
pkg.gl
Category
github.com/kamalyes/go-core
pkg
global
package
0.15.2
Repository:
https://github.com/kamalyes/go-core.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
12
Dependents
11
Files
69 SLOC
#
Functions
CreateId
CreateId* * @Description: 创建一个分布式ID(雪花ID) * @return DistributedId */.
CreateTime
CreateTime* * @Description: 创建一个时间戳 * @return Time */.
#
Variables
CONFIG
CONFIG 全局系统配置.
CSBEF
CSBEF casbin实施者.
DB
DB 数据库.
ENV
ENV 设置环境.
GPerFix
单节点应用常用全局变量.
LOG
LOG 全局日志.
MinIO
MinIO客户端.
MQTT
MQTT 客户端.
Node
雪花ID节点.
REDIS
REDIS 默认客户端.
Trans
Trans 全局validate翻译器.
VP
VP 通过 viper 读取的yaml配置文件.
#
Structs
Model
No description provided by the author
#
Type aliases
DistributedId
No description provided by the author
TTime
No description provided by the author