mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
remove debugging codes from package gtime
This commit is contained in:
parent
d3bf52f12f
commit
87650557fd
@ -28,7 +28,6 @@ func New(param ...interface{}) *Time {
|
||||
if len(param) > 0 {
|
||||
switch r := param[0].(type) {
|
||||
case time.Time:
|
||||
r.Nanosecond()
|
||||
return NewFromTime(r)
|
||||
case *time.Time:
|
||||
return NewFromTime(*r)
|
||||
|
Loading…
Reference in New Issue
Block a user