carbon中私有属性loc改为公开属性Loc

This commit is contained in:
gouguoyin 2021-01-25 17:56:01 +08:00
parent 3add794e8c
commit 2d72accf9c

View File

@ -7,8 +7,9 @@ import (
) )
type Carbon struct { type Carbon struct {
Time time.Time Time time.Time
Loc *time.Location Loc *time.Location
Error error
} }
// Now 当前 // Now 当前