File: intern.go

package info (click to toggle)
golang-github-mailru-easyjson 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 872 kB
  • sloc: makefile: 117; sh: 4
file content (14 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package tests

//easyjson:json
type NoIntern struct {
	Field string `json:"field"`
}

//easyjson:json
type Intern struct {
	Field string `json:"field,intern"`
}

var intern = Intern{Field: "interned"}
var internString = `{"field":"interned"}`