Skip to content

Commit

Permalink
Remove debug print information
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Sep 8, 2023
1 parent ca835e0 commit 360fa60
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions difference.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package carbon

import (
"fmt"
"math"
"strings"
)
Expand Down Expand Up @@ -220,8 +219,6 @@ func (c Carbon) DiffForHumans(carbon ...Carbon) string {
// gets the difference for unit and value.
// 获取相差单位和差值
func (c Carbon) diff(end Carbon) (unit string, value int64) {
fmt.Println("ss:", c.DiffAbsInYears(end))

switch true {
case c.DiffAbsInYears(end) > 0:
unit = "year"
Expand Down

0 comments on commit 360fa60

Please sign in to comment.