File: compactfloats.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 (19 lines) | stat: -rw-r--r-- 272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package _generated

//go:generate msgp

//msgp:compactfloats

//msgp:ignore F64
type F64 float64

//msgp:replace F64 with:float64

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