go-clean-arch
recipes
Our great sponsors
go-clean-arch | recipes | |
---|---|---|
11 | 17 | |
8,679 | 2,857 | |
- | 3.2% | |
4.7 | 9.8 | |
7 days ago | 7 days ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-clean-arch
-
Where can I find well-written go code to learn from?
I'm working on a project that makes use of Hexagonal Architecture to keep things loosely coupled and I learned golang recently. So, I would recommend you to check out Go clean arch, I think you can a learn a lot from it.
-
A Go (Golang) Backend Clean Architecture Project
Try this
- Go project written in clean code architecture
- Best practices for structuring Go HTTP applications
- What is the best way to structure your golang application ?
-
Framework or advices for API
It will be good to have a look at the Go (Golang) Clean Architecture based on Uncle Bob's Clean Architecture https://github.com/bxcodec/go-clean-arch
-
Any suggestions for a beginner to build a microservice using Go with ES?
Has anyone come across any Golang repo like go-clean-arch which uses elasticsearch? As I am a beginner and wanted to have a bit of practice of building microservice using Go with Elasticsearch.
-
Any good resources to learn Elasticsearch with Golang?
Thanks, everyone. I am able to understand a few things using go-elasticsearch. Though Olivere/elastic is simpler, it is not future-proof. I just wanted a repository similar to cleanarchitecture which uses elasticsearch, on the top of which I can practice. Please provide a link here if anyone has come across such a repo.
-
7 subjects (and GitHub repositories) to become a better Go Developer
View on GitHub
-
Hmmm... How should I structure my Go project?
https://threedots.tech/post/introducing-clean-architecture/ https://github.com/bxcodec/go-clean-arch
recipes
- Fiber – Express inspired web framework written in Go
-
go-mir - a toolkit to develop RESTful API backend service like develop service of gRPC
Mir is a toolkit to develop RESTful API backend service like develop service of gRPC. It adapt some HTTP framework sush as Gin, Chi, Hertz, Echo, Iris, Fiber, Macaron, Mux, httprouter。
-
Tools besides Go for a newbie
IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
-
I know JavaScript and looking for Go learning resource
With lovely recipes: https://github.com/gofiber/recipes
-
The best Go framework: no framework? (Three Dots Tech)
If I started working at a Go shop that used a framework, I would hope it would be Fiber. Not for any particular solid reasons, though. Rather just personal preference based on how the developer experience feels to me personally.
- Criando uma API Rest com Fiber - Uma história pessoal de aprendizado
- Construindo uma API organizadinha em Golang usando Fiber
- Lightweight opensource Go-based spa-to-http tool "beats" Nginx in SPA serving performance
-
Ask HN: What GO web framework do you use?
I use Fiber [0] in production for a $4M ARR company and never had any issues.
Took less than a month to start with and integrate and it is a joy to use.
[0] https://github.com/gofiber/fiber
-
Framework or advices for API
Fiber is quite light weight and performant, its beginner friendly as well. The complexity of your app has to live somewhere. You are going to need a router at least, any framework that is lightweight and has sensible defaults is always worth considering over doing everything on your own. There are plenty of useful examples
What are some alternatives?
golang-standards/project-layout - Standard Go Project Layout
fiber-go-template - 📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.
go-backend-template - Clean architecture based backend template in Go.
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
awesome-elasticsearch - A curated list of the most important and useful resources about elasticsearch: articles, videos, blogs, tips and tricks, use cases. All about Elasticsearch!
imgui-go-examples - Examples of Dear ImGui for Go
uber-style-guide-ja
fiber-versioning-boilerplate - A boilerplate for fiber versioning, Clean Architecture, API versioning, API documentation, Data versioning
clean-go-article - A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.
tutorial-go-fiber-rest-api - 📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.
uber-go-style-guide-th - Uber's Go Style Guide Translation in Thai. Linked to the uber-go/guide as a part of contributions https://github.com/uber-go/guide
gobyexample - Go by Example