aboutsummaryrefslogtreecommitdiff
path: root/go/filer/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-05-12 22:57:23 -0700
committerChris Lu <chris.lu@gmail.com>2014-05-12 22:57:23 -0700
commit328aa48c6a666e15033f34e072e40a6ba41c6d36 (patch)
tree2db5635ec030d73551df3efe465ec6b7f619a9fa /go/filer/filer.go
parent8ceaaa6c4ff53c3258a29e6233877e67ef30ef9e (diff)
downloadseaweedfs-328aa48c6a666e15033f34e072e40a6ba41c6d36.tar.xz
seaweedfs-328aa48c6a666e15033f34e072e40a6ba41c6d36.zip
Can compile now. not working just yet.
Diffstat (limited to 'go/filer/filer.go')
-rw-r--r--go/filer/filer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/filer/filer.go b/go/filer/filer.go
index a42d9ed8c..8d2da901b 100644
--- a/go/filer/filer.go
+++ b/go/filer/filer.go
@@ -5,8 +5,8 @@ import ()
type FileId string //file id on weedfs
type FileEntry struct {
- Name string //file name without path
- Id FileId
+ Name string `json:"name,omitempty"` //file name without path
+ Id FileId `json:"fid,omitempty"`
}
type Filer interface {