GoLibrary 是针对 Go 封装的一套工具类库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
李光春 cb86530fd4
- update redis
1 week ago
service - update pinduoduo 4 weeks ago
utils - update redis 1 week ago
vendor - update redis 1 week ago
.gitignore - update log 8 months ago
CHANGELOG.md - 更新抖音接口 1 month ago
LICENSE update 1 year ago
Makefile - update 8 months ago
README.md - update 2 months ago
go.mod - update redis 1 week ago
go.sum - update redis 1 week ago
library.go - update redis 1 week ago

README.md

Golang Library

📦 Golang 扩展包

godoc goproxy.cn goreportcard.com deps.dev

安装使用

go get -v -u github.com/dtapps/go-library

import (
    "github.com/dtapps/go-library"
)

用法示例

默认时区为 Local即服务器所在时区

当前时间
import (
	"github.com/dtapps/go-library/utils/gotime"
)

gotime.Current().Now()
gotime.Current().Format()
gotime.Current().Timestamp()
gotime.Current().TimestampWithMillisecond()

JetBrains 开源证书支持

go-library 基于 JetBrains 公司旗下的 GoLand 集成开发环境中进行开发。

🔑 License

MIT

Copyright (c) 2018 茂名聚合科技有限公司