3 ms·
> when I discovered Go could do the same Can you explain more? Is it this - https://stackoverflow.com/questions/7707178/whats-the-appropriate-go-shebang-line h
by frfl 1y ago
> when I discovered Go could do the same
Can you explain more? Is it this - https://stackoverflow.com/questions/7707178/whats-the-appropriate-go-shebang-line https://stackoverflow.com/questions/7707178/whats-the-approp... ?
- tracker1 1y agoI saw an example about a year ago and can't find a specific article... but something along the lines of... #!/usr/bin/env -S go run I'm not sure if/when go ignores a shebang on the first line... otherwise, there are a bunch of articles I've seen that have a slightly differing format to do the same.. but google results feel off/old. searched for: go shebang scripts shebang is the term for a text/script file beginning with "#!" with the executable and parameters to run.