From a1765c018e7aa95df47b8f7d0f3cd6b5b5acf915 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 25 Feb 2022 20:10:55 -0500 Subject: [PATCH] Initialized Go project structure --- .gitignore | 30 ++++++++++++++++++------------ go.mod | 3 +++ 2 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 go.mod diff --git a/.gitignore b/.gitignore index 3ca43ae..d748249 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,22 @@ -# ---> Rust -# Generated by Cargo -# will have compiled files and executables -debug/ -target/ +# ---> Go +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock +# Test binary, built with `go test -c` +*.test -# These are backup files generated by rustfmt -**/*.rs.bk +# Output of the go coverage tool, specifically when used with LiteIDE +*.out -# MSVC Windows builds of rustc generate these, which store debugging information -*.pdb +# Dependency directories (remove the comment below to include it) +# vendor/ +# Go workspace file +go.work diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a21896a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.metaunix.net/bitgoblin/hardware-tests + +go 1.17