mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
Bump golangci-lint to 1.55.2 and fix issues
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
This commit is contained in:
@@ -30,23 +30,22 @@ the root directory of this source tree.
|
||||
//
|
||||
// Usage
|
||||
//
|
||||
// options := &terraform.Options{
|
||||
// Path: "./examples",
|
||||
// ShowHeader: true,
|
||||
// HeaderFromFile: "main.tf",
|
||||
// ShowFooter: true,
|
||||
// FooterFromFile: "footer.md",
|
||||
// SortBy: &terraform.SortBy{
|
||||
// Name: true,
|
||||
// },
|
||||
// ReadComments: true,
|
||||
// }
|
||||
// options := &terraform.Options{
|
||||
// Path: "./examples",
|
||||
// ShowHeader: true,
|
||||
// HeaderFromFile: "main.tf",
|
||||
// ShowFooter: true,
|
||||
// FooterFromFile: "footer.md",
|
||||
// SortBy: &terraform.SortBy{
|
||||
// Name: true,
|
||||
// },
|
||||
// ReadComments: true,
|
||||
// }
|
||||
//
|
||||
// tfmodule, err := terraform.LoadWithOptions(options)
|
||||
// if err != nil {
|
||||
// log.Fatal(err)
|
||||
// }
|
||||
//
|
||||
// ...
|
||||
// tfmodule, err := terraform.LoadWithOptions(options)
|
||||
// if err != nil {
|
||||
// log.Fatal(err)
|
||||
// }
|
||||
//
|
||||
// ...
|
||||
package terraform
|
||||
|
||||
Reference in New Issue
Block a user