<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm" -->

---
title: I finally built the Go project generator I always...
description: Goca is an open-source CLI tool that automatically generates production-ready Go features following Clean Architecture principles. It creates entities, use...
canonical: https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I finally built the Go project generator I always wanted: Goca (Beta) | daily.dev
og:description: Goca is an open-source CLI tool that automatically generates production-ready Go features following Clean Architecture principles. It creates entities, use...
og:url: https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm
og:image: https://api.daily.dev/og/posts/95rLk3Cnm.png
og:image:alt: I finally built the Go project generator I always wanted: Goca (Beta)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I finally built the Go project generator I always wanted: Goca (Beta)

**[Kashitsuwa](https://daily.dev/sources/eexhvzfp824uaxinoymgz)** · [@kashitsuwa](https://daily.dev/kashitsuwa) · 1 min read · 59 upvotes · 6 comments

## Summary

Goca is an open-source CLI tool that automatically generates production-ready Go features following Clean Architecture principles. It creates entities, use cases, repositories, and HTTP handlers to eliminate repetitive boilerplate code when starting new Go services. Currently in beta with MIT license, the tool aims to reduce setup time while enforcing architectural best practices.

## Content

Hey DailyDevs, I wanted to share a side project I've been pouring time into lately: Goca.

If you're like me, you're tired of writing the same 20 files just to start a new Go service following Clean Architecture. The layers, the interfaces, the DI config—it's necessary, but it's pure boilerplate.

That's where Goca comes in. It's a CLI tool that generates a full, production-ready Go feature (entity, use case, repository, HTTP handler) in seconds, all while strictly enforcing Uncle Bob's Clean Architecture rules. It's essentially my way of cutting out the setup tax.

Heads up: This is still very much in beta. It's working great for my own projects, but there are definitely rough edges, and I'm still figuring out the best ways to handle database migrations and multi-protocol setups.

It's open source (MIT licensed), and I'm genuinely looking for feedback from people who actually build production Go apps. If you hate boilerplate as much as I do, please check out the documentation and let me know where it breaks for you.

Link to the docs:https://sazardev.github.io/goca/

## Community discussion

Top comments from developers on daily.dev.

**@themercee** · 1 upvotes

> Ahah you made me laugh with the "What developers say" section. This is a good idea of project and I will certainly look at it :)

**@andremoreira9** · 1 upvotes

> Will try it out for a new project and will be giving you feedback along the way

**@thiennguyendev** · 1 upvotes

> Will give a try but why did you choose GORM?
> Can I use other like sqlx?

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#golang](https://daily.dev/tags/golang), [#cli](https://daily.dev/tags/cli)

[View this post on daily.dev](https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm","headline":"I finally built the Go project generator I always wanted: Goca (Beta)","text":"Goca is an open-source CLI tool that automatically generates production-ready Go features following Clean Architecture principles. It creates entities, use cases, repositories, and HTTP handlers to eliminate repetitive boilerplate code when starting new Go services. Currently in beta with MIT license, the tool aims to reduce setup time while enforcing architectural best practices.","url":"https://daily.dev/posts/i-finally-built-the-go-project-generator-i-always-wanted-goca-beta--95rlk3cnm","datePublished":"2025-10-12T15:09:25.586Z","dateModified":"2025-10-12T15:09:46.184Z","author":{"@type":"Person","name":"Kashitsuwa","url":"https://daily.dev/kashitsuwa","image":"https://media.daily.dev/image/upload/s--znH0-blf--/f_auto/v1777393282/avatars/avatar_eexHvzfP824UAxinOYMGz?_a=BAMAMiWQ0","description":"Full-Stack Mobile \u0026 DevOps Engineer","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1550}},"image":"https://media.daily.dev/image/upload/s--8sNtrMd0--/f_auto/v1760281765/posts/95rLk3Cnm?_a=BAMAK+ZW0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":59},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":6}],"comment":[{"@type":"Comment","text":"Ahah you made me laugh with the “What developers say” section. This is a good idea of project and I will certainly look at it :)","datePublished":"2025-10-22T15:03:25.254Z","url":"https://daily.dev/posts/95rLk3Cnm#c-Iib67I3Wp","author":{"@type":"Person","name":"Jimmy M","url":"https://daily.dev/themercee","image":"https://avatars.githubusercontent.com/u/6720140?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Will try it out for a new project and will be giving you feedback along the way","datePublished":"2025-10-17T11:24:55.477Z","url":"https://daily.dev/posts/95rLk3Cnm#c-n2hmM9UgU","author":{"@type":"Person","name":"André Júlio Moreira","url":"https://daily.dev/andremoreira9","image":"https://avatars.githubusercontent.com/u/23351316?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Will give a try but why did you choose GORM?\nCan I use other like sqlx?","datePublished":"2025-10-24T08:20:23.047Z","url":"https://daily.dev/posts/95rLk3Cnm#c-DMWpLN1dN","author":{"@type":"Person","name":"thiennguyen","url":"https://daily.dev/thiennguyendev","image":"https://media.daily.dev/image/upload/s--JLXI4Gql--/f_auto/v1742806568/avatars/avatar_IIK0Ax0HheQVgFbEXjdql"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/eexhvzfp824uaxinoymgz","name":"Kashitsuwa"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Kashitsuwa","item":"https://daily.dev/sources/eexhvzfp824uaxinoymgz"},{"@type":"ListItem","position":3,"name":"I finally built the Go project generator I always wanted: Goca (Beta)"}]}
```

