Replace godep with dep
This commit is contained in:
parent
1e7489927c
commit
bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions
12
vendor/github.com/mailru/easyjson/tests/omitempty.go
generated
vendored
Normal file
12
vendor/github.com/mailru/easyjson/tests/omitempty.go
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package tests
|
||||
|
||||
//easyjson:json
|
||||
type OmitEmptyDefault struct {
|
||||
Field string
|
||||
Str string
|
||||
Str1 string `json:"s,!omitempty"`
|
||||
Str2 string `json:",!omitempty"`
|
||||
}
|
||||
|
||||
var omitEmptyDefaultValue = OmitEmptyDefault{Field: "test"}
|
||||
var omitEmptyDefaultString = `{"Field":"test","s":"","Str2":""}`
|
||||
Loading…
Add table
Add a link
Reference in a new issue