Address comments; also, demonstrate one more property in test.

This commit is contained in:
Daniel Smith
2014-06-26 10:51:29 -07:00
parent c9246dc130
commit afd13edd6a
6 changed files with 69 additions and 39 deletions

View File

@@ -60,7 +60,8 @@ type SimpleRESTStorage struct {
updated Simple
created Simple
// called when answering update, delete, create
// If non-nil, called inside the WorkFunc when answering update, delete, create.
// obj recieves the original input to the update, delete, or create call.
injectedFunction func(obj interface{}) (returnObj interface{}, err error)
}