WeSearch

Specifications in Go: Composable Query Predicates Without an ORM Leak

·9 min read · 0 reactions · 0 comments · 2 views
Specifications in Go: Composable Query Predicates Without an ORM Leak

Book: Hexagonal Architecture in Go Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub You've seen this repository file. It started as FindAll , FindByID , FindByEmail . Six months later it has FindActiveCustomersInRegionWithOverdueInvoicesOlderThan . The method name is a sentence. Nine arguments, half of th

Original article
DEV Community
Read full at DEV Community →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 425693) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Gabriel Anhaia Posted on May 1 Specifications in Go: Composable Query Predicates Without an ORM Leak #go #architecture #ddd #backend Book: Hexagonal Architecture in Go Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub You've seen this repository file.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV Community.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV Community