HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dolmen-go
goeval
Go2019–2026
dolmen-go / goeval

goeval

Run Go snippets instantly from the command-line

2Distinct people
10Mentions
0Explicit recommenders
39GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Run Go snippets instantly from the command-line

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year10 dated mentions

Observed mentions: 2019-06-10 22:22:08 UTC to 2026-04-07 12:46:27 UTC.

02462019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC220
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC110
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC615
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

10 sources
I think there is still space for an alternate Go syntax for scripting with the following constraints: * a single file exposing a "main" package and its "func main()" * import syntax that merges requires from go.mod (import both packages and modules) * simplified error handling (just ignore returned errors in code, and they are caught by the transpiler to be handled 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
In Go away Python
dolmen·Jun 24, 2025Submission

Show HN: Goeval v1.2.0: run Go oneliners from the command line

goeval is a frontend to the Go toolchain. It transpiles a subset of Go convenient to write on the command line into a full Go program, and executes it. v1.2.0 adds a backend. As an alternative to executing the code with the local Go toolchain, the new -play flag runs the code on the Go Playground infrastructure and replays it locally. The -share flag also allow to instantly share your code on the Go Playground to easily transition from a one-liner to a full Go program.
3 points · Open discussion
This gives me hope to ease running Go code for CI jobs directly from GitHub workflow YAML files using goeval [1]. However goeval doesn't yet have 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 of goeval. [1] https://github.com/dolmen-go/goeval
In Any program can be a GitHub Actions shell

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.