I wrote a shell script that bundles a few networking tools together (amass, nmap etc) and they all work fine except httprobe (a tool that takes a list of domains and probes for working http and https servers). The tool is written in Go. The Go Interpreter is in my $PATH. The tool works perfectly when used from the terminal (in any directory including the one the script is in). I wish I could provide more information but I'm stumped and really can't think of how to debug this.
OS: Elementary OS (Ubuntu bionic base)