Du

Dumb Query Language for Go

Hacker News

Dumb Query Language for Go

Hi everyone! I'd like to share a Go library I've been working on over the past month. It's a simple query (or more specifically, filtering) language inspired by KQL (Kibana's query language) and GitHub's search syntax. It started as a project for a YouTube screencast about building small languages from scratch. However, I enjoyed the process so much that I decided to keep developing it beyond the scope of the video. Key highlights: - Field, boolean, one-of expressions - Schema validation - Easy integration with github.com/Masterminds/squirrel or directly with SQL drivers - Struct matching: reflection-based (slower, but works immediately) or via code generation (faster) I still have plenty of enhancements planned (tracked in the project's issues), but DumbQL is already quite usable. Feedback and contributions are very welcome!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
76%76% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
66%66% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
57%57% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
49%49% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video, month · Missing: mobile apps, ios, personal
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ra
Rainbow Query Language53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rainbow Query Language

Hacker News1
GE
GETlang – A Query Language for the Web68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GETlang – A Query Language for the Web

Hacker News7
Sy
Systematic Query Language for Quant Research with AI38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Systematic Query Language for Quant Research with AI

Hacker News1
Go
GoooQo Is a Dynamic Query Language Implemented in Golang for CRUD56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GoooQo Is a Dynamic Query Language Implemented in Golang for CRUD

Hacker News2
Mo
Monglorious – Query MongoDB with Strings33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Monglorious – Query MongoDB with Strings

Hacker News2
Qu
Query the national alcoholic beverage retailing monopoly of Finland43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Query the national alcoholic beverage retailing monopoly of Finland

Hacker News2
VelocityPack QueryBoost
VelocityPack QueryBoost38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MySQL / MariaDB Query Caching and Acceleration for cPanel

Indie Hackersemployees-10-plus
Lo
LogsQL – opinionated query language for logs71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LogsQL – opinionated query language for logs

Hacker News61
Cyphernetes
Cyphernetes11%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Kubernetes Query Language

Indie Hackers1open-source
Mi
Mixpanel Query Tool44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mixpanel Query Tool

Hacker News14