File: defs_test.go

package info (click to toggle)
golang-github-tinylib-msgp 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 836 kB
  • sloc: makefile: 47
file content (12 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
package msgp_test

//go:generate msgp -o=defgen_test.go -tests=false

type Blobs []Blob

type Blob struct {
	Name   string  `msg:"name"`
	Float  float64 `msg:"float"`
	Bytes  []byte  `msg:"bytes"`
	Amount int64   `msg:"amount"`
}