Browse Source

Describe some public struct and func

pull/73/merge
Jacob McCann 6 years ago
parent
commit
779aa5abaa
  1. 1
      plugin.go
  2. 1
      terraform.go

1
plugin.go

@ -34,6 +34,7 @@ type (
VarFiles []string VarFiles []string
} }
// Netrc is credentials for cloning
Netrc struct { Netrc struct {
Machine string Machine string
Login string Login string

1
terraform.go

@ -53,6 +53,7 @@ func downloadFile(filepath string, url string) error {
return nil return nil
} }
// Unzip a file to a destination
func Unzip(src, dest string) error { func Unzip(src, dest string) error {
r, err := zip.OpenReader(src) r, err := zip.OpenReader(src)
if err != nil { if err != nil {

Loading…
Cancel
Save