File: //proc/thread-self/root/opt/go/pkg/mod/github.com/mailru/
[email protected]/tests/type_declaration.go
package tests
//easyjson:json
type (
GenDeclared1 struct {
Value string
}
// A gen declared easyjson struct with a comment
GenDeclaredWithComment struct {
Value string
}
)
type (
//easyjson:json
TypeDeclared struct {
Value string
}
TypeNotDeclared struct {
Value string
}
)
var (
myGenDeclaredValue = TypeDeclared{Value: "GenDeclared"}
myGenDeclaredString = `{"Value":"GenDeclared"}`
myGenDeclaredWithCommentValue = TypeDeclared{Value: "GenDeclaredWithComment"}
myGenDeclaredWithCommentString = `{"Value":"GenDeclaredWithComment"}`
myTypeDeclaredValue = TypeDeclared{Value: "TypeDeclared"}
myTypeDeclaredString = `{"Value":"TypeDeclared"}`
)