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. ▲ 3
    Show HN: Goeval v1.2.0: run Go oneliners from the command line
    story by dolmen · 2025-06-24 · 0 comments
  6. 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
  7. …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…
  8. ▲ 2
    Show HN: goeval – run Go code from the command line
    story by dolmen · 2023-09-07 · 0 comments
  9. ▲ 1
    Show HN: Goveval – Run Go snippets instantly from the command line
    story by dolmen · 2019-10-31 · 0 comments
  10. ▲ 1
    goeval 'fmt.Println("Hello, World!")'
    story by dolmen · 2019-06-10 · 0 comments