Add types to uploading

This commit is contained in:
Chris Lu
2014-04-15 10:01:13 -07:00
parent 7ad6cd35e8
commit 4ecf5956d7
3 changed files with 17 additions and 16 deletions

View File

@@ -17,9 +17,9 @@ import (
)
type UploadResult struct {
Name string
Size int
Error string
Name string `json:"name,omitempty"`
Size uint32 `json:"size,omitempty"`
Error string `json:"error,omitempty"`
}
var (