logoalt Hacker News

soupbowlyesterday at 6:25 PM1 replyview on HN

Are you using 'go run' or compiling these scripts? Just curious about what you are up to as I was considering moving my scripts from bash to go.


Replies

transmit101yesterday at 8:25 PM

Not sure if it's obvious, but "go run" is just a thin wrapper around "go build" which compiles your Go code to a temporary location and then runs it in a single step.