As with most of my career to-date, I'm on a learning curve ...
This time, it's GoLang, and I'm learning at a fast pace AND loving it !
I was trying to work out why my tests: -
go test ./...
or the more verbose: -
go test -v ./...
were failing with: -
exit status 1
rather than a more useful Panic message.
This helped: -
golang test exit status -1 and shows nothing
by helping me realise that my code had: -
log.Fatal
rather than: -
log.Panic
Once I fixed my code, life got a WHOLE lot better.
#LifeIsGood
#EveryDayIsASchoolDay
This time, it's GoLang, and I'm learning at a fast pace AND loving it !
I was trying to work out why my tests: -
go test ./...
or the more verbose: -
go test -v ./...
were failing with: -
exit status 1
rather than a more useful Panic message.
This helped: -
golang test exit status -1 and shows nothing
by helping me realise that my code had: -
log.Fatal
rather than: -
log.Panic
Once I fixed my code, life got a WHOLE lot better.
#LifeIsGood
#EveryDayIsASchoolDay