Made structural changes to server-side Preference code based on feedback

Этот коммит содержится в:
hmhealey
2015-10-09 13:47:11 -04:00
родитель 8a7aa7f66f
Коммит 5cecf1afcd
9 изменённых файлов: 220 добавлений и 355 удалений

Просмотреть файл

@@ -612,11 +612,3 @@ func decrypt(key []byte, cryptoText string) (string, error) {
return fmt.Sprintf("%s", ciphertext), nil
}
// Interface for both gorp.DbMap and gorp.Transaction to allow code for one to be reused with the other
type Queryable interface {
Exec(query string, args ...interface{}) (dbsql.Result, error)
Insert(list ...interface{}) error
SelectInt(query string, args ...interface{}) (int64, error)
Update(list ...interface{}) (int64, error)
}