From 38eca13dee40cc7edd30955741860d357a9e6feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <jose.carlos@menteslibres.net> Date: Thu, 28 May 2015 06:53:33 -0500 Subject: [PATCH] Adding missing docstrings. --- mysql/collection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql/collection.go b/mysql/collection.go index 7858e04f..ad4e2ae6 100644 --- a/mysql/collection.go +++ b/mysql/collection.go @@ -57,7 +57,7 @@ func (t *table) Truncate() error { return nil } -// Appends an item (map or struct) into the collection. +// Append inserts an item (map or struct) into the collection. func (t *table) Append(item interface{}) (interface{}, error) { var pKey []string @@ -141,7 +141,7 @@ func (t *table) Append(item interface{}) (interface{}, error) { return keyMap, nil } -// Returns true if the collection exists. +// Exists returns true if the collection exists. func (t *table) Exists() bool { if err := t.database.tableExists(t.Tables...); err != nil { return false -- GitLab