dwyl / dwyl/learn-go

Which `Go` Web Framework in 2024?

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
documentation enhancement good first issue help wanted
Dominant language
Go
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Need to do a quick recon of `Go` Web frameworks
to decide which one we can/should use for a mini project that might turn into a larger one ...

_Specifically_ need:
1. Something "batteries included" like `Phoenix` ***or*** lightweight but easy to extend like [`next.js`](https://nextjs.org/)
2. _Fast_ UI rendering using a library like `htmx`.
3. _Ideally_ **`auth` built-in** or a simple to add like [`mix phx.gen.auth`](https://hexdocs.pm/phoenix/mix_phx_gen_auth.html) or via plugin.
4. If there is an "admin interface" generator similar to `phoenix mix.gen.html`

Reading: https://www.reddit.com/r/golang/comments/11044h8/best_web_sever_framework/
it appears as though our _initial_ list for research is:
+ [ ] `gin`: https://gin-gonic.com/docs -> https://github.com/gin-gonic/gin ![GitHub Repo stars](https://img.shields.io/github/stars/gin-gonic/gin)
Definitely the most mature and popular.
+ [ ] `echo`: https://echo.labstack.com -> https://github.com/labstack/echo ![GitHub Repo stars](https://img.shields.io/github/stars/labstack/echo)
The "contender".
+ [ ] `go-chi`: https://github.com/go-chi/chi ![GitHub Repo stars](https://img.shields.io/github/stars/go-chi/chi)
Looks _very_ lightweight (basic?) to me. That's good for perf but not sure about maintainability in a larger team ... 💭

Note: we need to do this research as a "break" from our other more pressing work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare gin, echo, and go-chi using the linked documentation and repository pages. Check each against the stated needs: batteries-included or extensibility, htmx-friendly rendering, authentication options, and admin-interface generation. Done means recording a comparison and recommending which framework best fits the mini project and possible larger use.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.