File: compactfloats.go

package info (click to toggle)
golang-github-tinylib-msgp 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,168 kB
  • sloc: makefile: 45
file content (15 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package _generated

//go:generate msgp -d "msgp:compactfloats" -d "replace F64 with:float64" -v

//msgp:ignore F64
type F64 float64

type Floats struct {
	A     float64
	B     float32
	Slice []float64
	Map   map[string]float64
	F     F64
	OE    float64 `msg:",omitempty"`
}