diff --git a/container/garray/garray_normal_any.go b/container/garray/garray_normal_any.go index 863274e07..0e16736de 100644 --- a/container/garray/garray_normal_any.go +++ b/container/garray/garray_normal_any.go @@ -36,7 +36,7 @@ func New(safe ...bool) *Array { return NewArraySize(0, 0, safe...) } -// NewArray See New. +// NewArray is alias of New, please see New. func NewArray(safe ...bool) *Array { return NewArraySize(0, 0, safe...) } @@ -422,7 +422,7 @@ func (a *Array) SubSlice(offset int, length ...int) []interface{} { } } -// Append See PushRight. +// Append is alias of PushRight, please See PushRight. func (a *Array) Append(value ...interface{}) *Array { a.PushRight(value...) return a diff --git a/container/garray/garray_normal_int.go b/container/garray/garray_normal_int.go index 83c2624d5..44e577383 100644 --- a/container/garray/garray_normal_int.go +++ b/container/garray/garray_normal_int.go @@ -424,7 +424,7 @@ func (a *IntArray) SubSlice(offset int, length ...int) []int { } } -// Append See PushRight. +// Append is alias of PushRight,please See PushRight. func (a *IntArray) Append(value ...int) *IntArray { a.mu.Lock() a.array = append(a.array, value...) diff --git a/container/garray/garray_normal_str.go b/container/garray/garray_normal_str.go index 8f2cb1d83..61fd0e8d0 100644 --- a/container/garray/garray_normal_str.go +++ b/container/garray/garray_normal_str.go @@ -411,7 +411,7 @@ func (a *StrArray) SubSlice(offset int, length ...int) []string { } } -// Append See PushRight. +// Append is alias of PushRight,please See PushRight. func (a *StrArray) Append(value ...string) *StrArray { a.mu.Lock() a.array = append(a.array, value...)