Hacker GitHub

← All repos

dolmen-go/goeval

View on GitHub ↗ ★ 39 Go

Run Go snippets instantly from the command-line

10 mentions on Hacker News by 2 people: 4 stories, 6 comments · first 2019-06-10 · latest 2026-04-07

Mentions per year 10 mentions · busiest year 2025 (6)
20082026
  1. Also: goeval https://github.com/dolmen-go/goeval
  2. …as fatal) Those are my ideas to go beyond my own goeval that already allows to run Go oneliners. https://github.com/dolmen-go/goeval
    comment by dolmen · 2025-12-30 · in Go away Python
  3. Also, for Go oneliners: https://github.com/dolmen-go/goeval (Disclaimer: author here)
    comment by dolmen · 2025-12-30 · in Go away Python
  4. Also with Go: $ go run github.com/dolmen-go/goeval@master 'fmt.Println(base64.StdEncoding.EncodeToString([]byte(os.Args[1])))' foobar Zm9vYmFy
  5. Why do you need any shell "tricks"? Wouldn't this work? go run github.com/dolmen-go/goeval@v1 - < file.go
    comment by michaelmior · 2025-04-08 · in Any program can be a GitHub Actions shell
  6. …direct support for file input (only stdin), so shell tricks are needed. So far the way is: run: | go run github.com/dolmen-go/goeval@v1 - <<'EOF' fmt.Println("Hello") EOF but this requires a bit of boilerplate. Disclaimer: I'm the author…