mirror of
https://gitee.com/dromara/carbon.git
synced 2024-12-02 04:07:36 +08:00
2.1.6 fix syntax errors
This commit is contained in:
parent
d0a423e2de
commit
7f50535908
@ -507,10 +507,10 @@ func (c Carbon) AddNanosecond() Carbon {
|
||||
return c.AddNanoseconds(1)
|
||||
}
|
||||
|
||||
// SubNanoseconds subtracts some nanosecond.
|
||||
// SubNanoseconds subtracts some nanoseconds.
|
||||
// N纳秒前
|
||||
func (c Carbon) SubNanoseconds(nanosecond int) Carbon {
|
||||
return c.AddNanoseconds(-nanosecond)
|
||||
func (c Carbon) SubNanoseconds(nanoseconds int) Carbon {
|
||||
return c.AddNanoseconds(-nanoseconds)
|
||||
}
|
||||
|
||||
// SubNanosecond subtracts one nanosecond.
|
||||
|
Loading…
Reference in New Issue
Block a user