File: struct_test.go

package info (click to toggle)
golang-github-segmentio-encoding 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,468 kB
  • sloc: makefile: 286
file content (10 lines) | stat: -rw-r--r-- 153 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
package proto

import (
	"testing"
	"unsafe"
)

func TestStructFieldSize(t *testing.T) {
	t.Log("sizeof(structField) =", unsafe.Sizeof(structField{}))
}