Fix godoc comment
This commit is contained in:
parent
54dd56cbd5
commit
f7318dbbe8
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ func (d *Doc) Del(path ...string) error {
|
|||
|
||||
// --------------------------------------------------------------------------------
|
||||
|
||||
// ArrayDel appends an item or an array of items to an array at the specified path.
|
||||
// ArrayAdd appends an item or an array of items to an array at the specified path.
|
||||
func (d *Doc) ArrayAdd(value interface{}, path ...string) (*Doc, error) {
|
||||
|
||||
a, ok := d.Get(path...).Data().([]interface{})
|
||||
|
|
Loading…
Reference in a new issue