From 779aa5abaa4c0520b749a34aa6c0dbcf82140997 Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Tue, 31 Jul 2018 13:35:04 -0500 Subject: [PATCH] Describe some public struct and func --- plugin.go | 1 + terraform.go | 1 + 2 files changed, 2 insertions(+) diff --git a/plugin.go b/plugin.go index 2d33629..07c4b5d 100644 --- a/plugin.go +++ b/plugin.go @@ -34,6 +34,7 @@ type ( VarFiles []string } + // Netrc is credentials for cloning Netrc struct { Machine string Login string diff --git a/terraform.go b/terraform.go index 6834ddc..519fced 100644 --- a/terraform.go +++ b/terraform.go @@ -53,6 +53,7 @@ func downloadFile(filepath string, url string) error { return nil } +// Unzip a file to a destination func Unzip(src, dest string) error { r, err := zip.OpenReader(src) if err != nil {