aboutsummaryrefslogtreecommitdiff
path: root/go/filer/filer.go
diff options
context:
space:
mode:
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 {