maligned

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package maligned implements a static analyzer to ensure that Go structs take up the least possible memory.

Index

Constants

View Source
const Doc = "Tool to detect Go structs that would take less memory if their fields were sorted."

Doc explaining the tool.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "maligned",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Analyzer runs static analysis.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL