Squashed 'golang-install/' content from commit 258f94f

git-subtree-dir: golang-install
git-subtree-split: 258f94f6120bbf99f4c9133c9ab5826dcd359fbe
This commit is contained in:
2022-05-05 20:07:21 +00:00
commit 30c4288a16
10 changed files with 513 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -e
GOVER=$(go version)
echo "Testing to make sure that Go $REQVER is installed"
if grep -q "$REQVER" <<< "$GOVER"; then
echo "Version contains: $REQVER"
exit 0
else
echo "Does not contain: $REQVER"
exit 1
fi