7 ms·
There is also yaegi, a Go interpreter, which might be a better choice for small scripts than 'go run'. https://github.com/traefik/yaegi https://github.com/trae
by clktmr 9mo ago
There is also yaegi, a Go interpreter, which might be a better choice for small scripts than 'go run'.
https://github.com/traefik/yaegi https://github.com/traefik/yaegi
- dolmen 9mo agoAlso, for Go oneliners: https://github.com/dolmen-go/goeval https://github.com/dolmen-go/goeval (Disclaimer: author here)