From d315337e8f7769f364112f4391c12c8e124f991d Mon Sep 17 00:00:00 2001 From: Wyatt Miller Date: Tue, 13 Aug 2019 10:48:47 -0400 Subject: [PATCH] yaml stuff --- .gitignore | 1 + Gopkg.lock | 9 +++++++++ Gopkg.toml | 30 ++++++++++++++++++++++++++++++ config.go | 12 ++++++++++++ generate.go | 1 + main.go | 7 +++++++ ssh.go | 6 ++++++ 7 files changed, 66 insertions(+) create mode 100644 .gitignore create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml create mode 100644 config.go create mode 100644 generate.go create mode 100644 main.go create mode 100644 ssh.go diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b6b072 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.yaml diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..10ef811 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,9 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + input-imports = [] + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..d7072c2 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,30 @@ +# Gopkg.toml example +# +# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html +# for detailed Gopkg.toml documentation. +# +# required = ["github.com/user/thing/cmd/thing"] +# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] +# +# [[constraint]] +# name = "github.com/user/project" +# version = "1.0.0" +# +# [[constraint]] +# name = "github.com/user/project2" +# branch = "dev" +# source = "github.com/myfork/project2" +# +# [[override]] +# name = "github.com/x/y" +# version = "2.4.0" +# +# [prune] +# non-go = false +# go-tests = true +# unused-packages = true + + +[prune] + go-tests = true + unused-packages = true diff --git a/config.go b/config.go new file mode 100644 index 0000000..43d9ca8 --- /dev/null +++ b/config.go @@ -0,0 +1,12 @@ +package main + +type Configuration struct { + Username string + Password string + Port int + Hosts []string +} + +func initializeConfig() { + +} diff --git a/generate.go b/generate.go new file mode 100644 index 0000000..06ab7d0 --- /dev/null +++ b/generate.go @@ -0,0 +1 @@ +package main diff --git a/main.go b/main.go new file mode 100644 index 0000000..44ee7ea --- /dev/null +++ b/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello!") +} diff --git a/ssh.go b/ssh.go new file mode 100644 index 0000000..a9dd39b --- /dev/null +++ b/ssh.go @@ -0,0 +1,6 @@ +package main + +type sshConnection struct { + Username string + Password []string +}