Encapsulate SQL statements and refactor Save functions as transactionable.

This commit is contained in:
Jeremy Latt 2013-05-24 21:39:53 -07:00
parent f24bb5ee7d
commit 48ca57c43d
11 changed files with 347 additions and 12 deletions

View file

@ -53,7 +53,7 @@ func (command *BaseCommand) User() *User {
}
func (command *BaseCommand) SetClient(c *Client) {
command.client = c
*command = BaseCommand{c}
}
func (command *BaseCommand) Source() Identifier {