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
李光春 53fb10fb1e
update taobao
2 years ago
.circleci update 2 years ago
.github/workflows update 2 years ago
service update taobao 2 years ago
utils update 2 years ago
vendor 更新mod 2 years ago
.coveralls.yml update 2 years ago
.gitignore 优化 2 years ago
.travis.yml update 2 years ago
CHANGELOG.md update service 2 years ago
LICENSE update 2 years ago
README.md 修复微信服务 2 years ago
appveyor.yml update 2 years ago
go.mod 更新mod 2 years ago
go.sum update 2 years ago
library.go update service 2 years ago

README.md

Golang Library

📦 Golang 扩展包

go godoc goproxy.cn goreportcard.com deps.dev Coverage Status Sourcegraph Build status codecov Build Status

安装使用

go get -v -u gopkg.in/dtapps/go-library.v3

import (
    "gopkg.in/dtapps/go-library.v3"
)

用法示例

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

当前时间
import (
	"gopkg.in/dtapps/go-library.v3/utils/gotime"
)

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

JetBrains 开源证书支持

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

🔑 License

MIT

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