Skip to content

Commit

Permalink
更新版本号v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Jul 14, 2021
1 parent 32100fc commit f891340
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions carbon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
// @Page github.com/golang-module/carbon
// @Version v1.4.2
// @Author gouguoyin
// @Email mail@gouguoyin.cn
// @Blog www.gouguoyin.cn
// @Email contact@gouguoyin.cn

package carbon

Expand Down Expand Up @@ -145,7 +146,7 @@ type Carbon struct {
Error error
}

// NewCarbon 新建 Carbon 结构体
// NewCarbon 初始化 Carbon 实例
func NewCarbon() Carbon {
return Carbon{Loc: time.Local, Lang: NewLanguage()}
}
Expand Down

0 comments on commit f891340

Please sign in to comment.