Add golang code comments

This commit is contained in:
Tobie Morgan Hitchcock 2016-07-17 11:39:43 +01:00
parent ef839dfa22
commit a9bff47026
2 changed files with 2 additions and 0 deletions

View file

@ -64,6 +64,7 @@ func Exit() {
}
// Prepare prepares a query for parameterization for future execution
func Prepare(sql string, param ...interface{}) string {
return fmt.Sprintf(sql, param...)

View file

@ -26,6 +26,7 @@ type DB struct {
}
func New(path string) (db *DB, err error) {
// New sets up the underlying key-value store
var ds DS