diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-02-10 09:44:44 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-02-10 09:44:44 -0800 |
| commit | 79d11ac951dd0e04c52a1e1bc9925f3fef3d962b (patch) | |
| tree | 97c8b6c3835d173ad0e003a0c2b4f588188b29c4 /go/operation | |
| parent | d4e5a22e5312ce2d0a2a8e25d45d27971b147252 (diff) | |
| download | seaweedfs-79d11ac951dd0e04c52a1e1bc9925f3fef3d962b.tar.xz seaweedfs-79d11ac951dd0e04c52a1e1bc9925f3fef3d962b.zip | |
go vet
Diffstat (limited to 'go/operation')
| -rw-r--r-- | go/operation/lookup_volume_id.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/go/operation/lookup_volume_id.go b/go/operation/lookup_volume_id.go index 516ba9129..8512ac918 100644 --- a/go/operation/lookup_volume_id.go +++ b/go/operation/lookup_volume_id.go @@ -10,12 +10,12 @@ import ( ) type Location struct { - Url string "url" - PublicUrl string "publicUrl" + Url string `json:"url"` + PublicUrl string `json:"publicUrl"` } type LookupResult struct { - Locations []Location "locations" - Error string "error" + Locations []Location `json:"locations"` + Error string `json:"error"` } //TODO: Add a caching for vid here |
