pkg

package
v0.0.0-...-6c2f2ba Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BIN_TARGET = "goweight-bin-target"

Variables

This section is empty.

Functions

This section is empty.

Types

type GoWeight

type GoWeight struct {
	BuildCmd []string
	BuildEnv []string
}

func NewGoWeight

func NewGoWeight(workDir string) *GoWeight

func (*GoWeight) BuildCurrent

func (g *GoWeight) BuildCurrent() string

return go build temporary directory

func (*GoWeight) Process

func (g *GoWeight) Process(work string) []*ModuleEntry

type ModuleEntry

type ModuleEntry struct {
	Path      string `json:"path"`
	Name      string `json:"name"`
	Size      uint64 `json:"size"`
	SizeHuman string `json:"size_human"`
}

Jump to

Keyboard shortcuts

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