Fix godoc comment

This commit is contained in:
Tobie Morgan Hitchcock 2017-06-09 18:57:16 +01:00
parent 54dd56cbd5
commit f7318dbbe8

View file

@ -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) { func (d *Doc) ArrayAdd(value interface{}, path ...string) (*Doc, error) {
a, ok := d.Get(path...).Data().([]interface{}) a, ok := d.Get(path...).Data().([]interface{})