From 76374826c9e74750e46aff783cdd28133ffe42d1 Mon Sep 17 00:00:00 2001 From: gouguoyin <245629560@qq.com> Date: Tue, 10 Aug 2021 15:44:24 +0800 Subject: [PATCH] update comment --- carbon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carbon.go b/carbon.go index c9ab6df..c751d38 100755 --- a/carbon.go +++ b/carbon.go @@ -162,7 +162,7 @@ func NewCarbon() Carbon { return Carbon{Loc: time.Local, Lang: NewLanguage()} } -// Time2Carbon converts time.Time into Carbon +// Time2Carbon converts time.Time into Carbon. // 将 time.Time 转换成 Carbon func Time2Carbon(tt time.Time) Carbon { c := NewCarbon()