✏️ json tag

This commit is contained in:
Quentin Perez 2016-12-14 11:04:34 +01:00
parent b4d1f1f9bb
commit a4749d98ae
No known key found for this signature in database
GPG Key ID: 7C6DCB859CF22206

View File

@ -25,7 +25,7 @@ type Ast struct {
BuildDate time.Time `json:"build-date"`
BuildHostname string `json:"build-hostname"`
BuildUser string `json:"build-user"`
GoPWD string `json:"go-pwd",omitempty`
GoPWD string `json:"go-pwd,omitempty"`
PWD string `json:"pwd"`
Debug bool `json:"debug"`
File *descriptor.FileDescriptorProto `json:"file"`