From f7318dbbe8666dd748fcba4f3adb1555ea59d1c8 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 9 Jun 2017 18:57:16 +0100 Subject: [PATCH] Fix godoc comment --- util/data/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/data/data.go b/util/data/data.go index 1f17cf89..76c01414 100644 --- a/util/data/data.go +++ b/util/data/data.go @@ -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{})