Add run function and make test robust and return correctly

This commit is contained in:
Deepak Mallubhotla 2020-12-29 10:10:02 -06:00
parent ea20a8cc3c
commit 240f3f5aae
Signed by: deepak
GPG Key ID: 64BF53A3369104E7

8
do.sh
View File

@ -12,9 +12,11 @@ build() {
test() {
echo "I am ${FUNCNAME[0]}ing"
_test
_lint
_vet
_lint && _vet && _test
}
run() {
test && go run main.go
}
_test() {