Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTfModule ¶
Types ¶
type DisplayType ¶
type DisplayType string
const ( All DisplayType = "all" Variables DisplayType = "variables" Locals DisplayType = "locals" )
type ModuleUsage ¶
type ModuleUsage struct { Path string Variables map[string]int Locals map[string]int // contains filtered or unexported fields }
func NewModuleUsage ¶
func NewModuleUsage(path string) (*ModuleUsage, error)
func (ModuleUsage) Display ¶
func (m ModuleUsage) Display(dType DisplayType, unusedOnly bool) error
func (ModuleUsage) DisplayLocals ¶
func (m ModuleUsage) DisplayLocals(unusedOnly bool) error
func (ModuleUsage) DisplayVariables ¶
func (m ModuleUsage) DisplayVariables(unusedOnly bool) error
Click to show internal directories.
Click to hide internal directories.