CLI: Add account:delete command

This commit is contained in:
Jason Wilder
2015-02-15 13:36:10 -07:00
parent c1d4acc01e
commit 90cd10e034
4 changed files with 71 additions and 1 deletions
+4
View File
@@ -29,6 +29,10 @@ type CreateAccountCommand struct {
Result Account `json:"-"`
}
type DeleteAccountCommand struct {
Id int64
}
type UpdateAccountCommand struct {
Name string `json:"name" binding:"Required"`
AccountId int64 `json:"-"`