4 ms·
Except I cannot `go run ~/that/project/over/there` as the use of go modules means I have to change directory to be inside the package first. I'm not sure why th
by GorsyGentle 3y ago
Except I cannot `go run ~/that/project/over/there` as the use of go modules means I have to change directory to be inside the package first. I'm not sure why that is exactly, but it's always been a nit I've found frustrating.
- 38 3y agothats mostly true. you need to at least be at the top level of the module to do go run. any higher and you get a missing go.mod error.
- randomdata 3y agoEspecially when you can `go run that/project/over/there@latest` Although, with slight modification, you can `go run -C ~/that/project/over/there .`
- deleted 3y ago[deleted]