frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Go-DDD: Production-ready DDD patterns and clean architecture in Go

https://github.com/sklinkert/go-ddd
1•sklinkert•21h ago
Hey HN! I've been working on a comprehensive example of Domain-Driven Design implementation in Go that demonstrates clean architecture principles in practice.

The repo includes:

Hexagonal architecture with clear separation of concerns - CQRS (Command Query Responsibility Segregation) patterns for scalability & reliability - Event sourcing examples - Operating only on validated domain entities - Dependency injection setup - Handling Idempotency - Repository patterns with multiple storage backends - Testing strategies

What makes this different from other DDD examples is the focus on practical, production-ready patterns rather than just theoretical concepts. I've tried to show how these patterns actually work together in a real application structure. The codebase is designed to be educational – each layer is clearly separated and documented so you can see how data flows through the application and where business logic lives versus infrastructure concerns.

Would love feedback from the Go community on the patterns used and whether this helps clarify DDD concepts for others who've struggled with implementing clean architecture in Go projects.

The Criminal Enterprise Run by Monkeys

https://www.wsj.com/lifestyle/monkeys-thieves-bali-temple-0b63a432
1•Ozarkian•2m ago•0 comments

Supersized stick insect discovered in high-altitude trees in Australia

https://www.theguardian.com/environment/2025/jul/31/big-stick-insect-acrophylla-alta-found-north-queensland-trees
1•cpach•5m ago•1 comments

I built my blog with C preprocessor macros

https://wheybags.com/blog/macroblog.html
1•r4um•7m ago•0 comments

Decoding Zuck's Superintelligence Memo

https://om.co/2025/07/30/decoding-zucks-superintelligence-memo/
3•tosh•11m ago•0 comments

Startup? More Like Standup

1•cesargstn•16m ago•0 comments

How to Bypass Yandex Smart Captcha Easily? Find Out Now

https://whoerip.com/blog/how-to-bypass-yandex-smart-captcha/
2•denis_kkk•19m ago•0 comments

Teach AI your name through someone it trusts

https://lauradecastro.substack.com/p/teach-ai-your-name-through-someone
1•larub_•20m ago•0 comments

Windows 7 God Mode

https://learn.microsoft.com/en-us/answers/questions/2447533/windows-7-god-mode
2•picture•25m ago•0 comments

EES digital border checks: start date officially confirmed

https://www.connexionfrance.com/news/ees-digital-border-checks-start-date-officially-confirmed/737190
2•taubek•26m ago•0 comments

Pi-hole – Compromised Donor Emails: A post-mortem

https://pi-hole.net/blog/2025/07/30/compromised-donor-emails-a-post-mortem/
3•Mossy9•28m ago•0 comments

First NHS AI-run physio clinic in England halves back-pain waiting list

https://www.theguardian.com/society/2025/jul/31/nhs-first-ai-run-physio-clinic-in-england-halves-back-pain-waiting-list
1•NomDePlum•29m ago•3 comments

Files Are Living Rent-Free in Someone's Cloud Forever (and That's Weird)

https://medium.com/@jenni_emeka/your-files-are-living-rent-free-in-someones-cloud-forever-and-that-s-weird-315899277e81
1•tonycletus•30m ago•0 comments

Delta's AI-based price-gouging

https://pluralistic.net/2025/07/30/efficiency-washing/#medallion-clubbed
2•ColinWright•31m ago•0 comments

Psychologists simulate ghosting–and reveal why it's so damaging

https://www.psypost.org/psychologists-simulate-ghosting-and-reveal-why-its-so-damaging/
3•lentoutcry•32m ago•0 comments

Build Your Own Minisforum N5 Inspired Mini NAS: A Comprehensive Guide

https://jackharvest.com/index.php/2025/07/27/build-your-own-minisforum-n5-inspired-mini-nas-a-comprehensive-guide/
1•Bogdanp•32m ago•0 comments

Meta brought AI to rural Colombia. Now students are failing exams

https://restofworld.org/2025/colombia-meta-ai-education/
1•imartin2k•39m ago•0 comments

Takotsubo Cardiomyopathy

https://en.wikipedia.org/wiki/Takotsubo_cardiomyopathy
1•thunderbong•42m ago•0 comments

Confirmed that OpenRouter's new stealth model originates from OpenAI

https://old.reddit.com/r/RooCode/comments/1mduo94/confirmed_that_openrouters_new_stealth_model/
1•handfuloflight•44m ago•0 comments

Formal Inertia

https://daedeluskite.com/2025/07/31/formal-inertia/
1•asplake•44m ago•0 comments

Vibe Coding but not what you think

https://amritpandey.io/vibe-coding-but-not-what-you-think/
2•hardasspunk•46m ago•0 comments

Customer guidance for SharePoint vulnerability CVE-2025-53770

https://msrc.microsoft.com/blog/2025/07/customer-guidance-for-sharepoint-vulnerability-cve-2025-53770/
2•taubek•46m ago•0 comments

Areweloongyet.com – Tracking Software Support for Loongson's LoongArch ISA

https://areweloongyet.com/
1•uneven9434•46m ago•0 comments

Has AI coding gone too far? I feel like I'm losing control of my own projects

3•Shaun0•48m ago•0 comments

New Hidden State of Matter Could Make Computers 1,000x Faster

https://www.popularmechanics.com/science/a65531679/hidden-metallic-state/
1•Bluestein•49m ago•0 comments

Matryoshka Representation Learning

https://arxiv.org/abs/2205.13147
1•Bluestein•55m ago•0 comments

How Science may help us smell the past (2017)

https://cen.acs.org/articles/95/i47/science-help-us-smell-past.html
2•XzetaU8•57m ago•0 comments

Turkish social media platform is breaching Mastodon's open source license

https://twitter.com/joinmastodon/status/1950153599108919717
2•canpacis•57m ago•1 comments

The Edge of Competence

https://ordep.dev/posts/circle-of-competence
2•kiyanwang•1h ago•0 comments

Working with AI: Measuring the Occupational Implications of Generative AI

https://arxiv.org/abs/2507.07935
1•rbanffy•1h ago•0 comments

Caches: LRU vs. Random

https://danluu.com/2choices-eviction/
2•gslin•1h ago•0 comments