Skip to content

gole(够了):该框架是从Java向golang转型的过程总结的一套至简化工具框架。遵从大道至简原则,让开发者在开发go的项目方面使用更简单

Notifications You must be signed in to change notification settings

simonalong/gole

Repository files navigation

gole

gole 框架为基础工具包,只提供日志、配置、时间等基础工具,不提供与和二方框架、三方结合的工具封装,与二方框架、三方结合的工具类封装在gole-boot框架中

下载

go get github.com/simonalong/gole

提示:

  1. 更新相关依赖
go mod tidy
  1. 下载指定版本
go get github.com/simonalong/gole@<version>

快速入门

gole定位是基础工具框架,包含各种各样的基础工具

包列表

包名 简介
util 基础工具(更新中)
config 配置文件管理
validate 校验核查
logger 日志
goid 局部id传递处理(theadlocal)
json json字符串处理工具
time 时间管理工具
file 文件管理工具
coder 编解码加解密工具
listener 事件监听机制
bean 对象管理工具
excel excel包

gole 测试

根目录提供go_test.sh文件,统一执行所有gole中包的测试模块

sh go_test.sh

About

gole(够了):该框架是从Java向golang转型的过程总结的一套至简化工具框架。遵从大道至简原则,让开发者在开发go的项目方面使用更简单

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages