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
李光春 1bb4ed17f0
- time:增加比较
2 years ago
cloudflare
dingdanxia - update 2 years ago
dingtalk
douyin
eastiot - update 2 years ago
ejiaofei - update 2 years ago
feishu
goaes
goarray
gobase64
gocache
godecimal
goenv
gofiles
gofloat
goget
goheader
goint
goint64
goip
gojobs - jobs:增加自定义目录配置 2 years ago
gojson
golock
golog
gomac
gomail
gomd5
gomongo
gomysql
goorder
goparams
gophp
gopostgres
gopreg
gorandom
goredis
gorequest
gorsa
gosort
gossh
gossl
gostorage
gostring
gotime - time:增加比较 2 years ago
gourl
gouuid
goxml
jd
jobs
kashangwl
kuaishou
leshuazf
meituan
oauth
pconline
phpjson
pinduoduo
pintoto - update 2 years ago
rmb
sendcloud
taobao
vendor - update 2 years ago
wechatminiprogram
wechatoffice
wechatopen
wechatpayapiv2
wechatpayapiv3
wechatpayopen
wechatqy
wechatunion
weishi
wikeyun
.drone.yml
.gitignore
CHANGELOG.md - time:增加比较 2 years ago
LICENSE
README.md
go.mod - update 2 years ago
go.sum - update 2 years ago
library.go
library_test.go

README.md

Golang Library

📦 Golang 扩展包

godoc goproxy.cn goreportcard.com deps.dev

安装使用

go get -v -u go.dtapp.net/library

import (
    "go.dtapp.net/library"
)

用法示例

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

当前时间
import (
	"go.dtapp.net/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 茂名聚合科技有限公司