toolshonnef.co/go/tools/structlayout Index | Files

package structlayout

import "honnef.co/go/tools/structlayout"

Index

Types

type Field

type Field struct {
	Name      string `json:"name"`
	Type      string `json:"type"`
	Start     int64  `json:"start"`
	End       int64  `json:"end"`
	Size      int64  `json:"size"`
	Align     int64  `json:"align"`
	IsPadding bool   `json:"is_padding"`
}

func (Field) String

func (f Field) String() string

Source Files

layout.go

Version
v0.2.2
Published
Nov 11, 2021
Platform
windows/amd64
Imports
1 packages
Last checked
7 minutes ago

Tools for package owners.