testutil
package v0.20.0
Go to latest Published: Apr 4, 2025 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:7 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- func GetExpected(format, name string) (string, error)
- func GetModule(config *print.Config) (*terraform.Module, error)
- func With(fn func(*print.Config)) print.Config
- func WithDefaultSections(override ...print.Config) print.Config
- func WithHTML(override ...print.Config) print.Config
- func WithHideEmpty(override ...print.Config) print.Config
- func WithSections(override ...print.Config) print.Config
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcGetExpected¶
GetExpected returns 'example' Module and expected Golden file content
funcWithDefaultSections¶added inv0.16.0
WithDefaultSections shows default sections (everything except footer) to provided print.Config.
funcWithHideEmpty¶added inv0.16.0
WithHideEmpty sets HideEmpty to provided print.Config.
Types¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.