wtf
go-webapp-example
Our great sponsors
wtf | go-webapp-example | |
---|---|---|
48 | 2 | |
1,534 | 42 | |
- | - | |
0.0 | 2.6 | |
over 1 year ago | over 3 years 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.
wtf
-
Help with setting up Ben Johnson's wtf repo locally
I am new to go. Found wtf dial - ( https://github.com/benbjohnson/wtf ) while looking to get some project based learning. This looks pretty interesting but when I did git clone of the project my vs code is giving number dependency related problems like below.
-
Educational Codebases
There are a few Go projects meant to be learned from:
- https://github.com/pion/opus for to learn audio
- https://github.com/benbjohnson/wtf for overall production quality
- https://github.com/upspin/upspin difficult to explain, personally I'm not a fan of the errors
- Ben Johnson's WTF project layout: interface usage
- Exemple of Web API written in Go that you'd consider high quality
-
Directory structure for a golang project
I read about https://github.com/benbjohnson/wtf and the connected blog here a couple of times. Seems quite good.
- Project structure - I often see duplicate function names in db layers, why?
-
The one-and-only, must-have, eternal Go project layout
Personally I think the method is the layered architecture approach. Example: https://github.com/benbjohnson/wtf
-
Examples of Good Go Repos
Take a look at the discussions in the repo: https://github.com/benbjohnson/wtf/discussions
-
Examples of an idiomatic API project
https://github.com/benbjohnson/wtf This repo serves as an example and fits Go very well in my opinion. Check the discussions on the repo and the blog posts.
- what do you use for migrations? or how do you the sql tables and seeding?
go-webapp-example
- Is there a good example of an open source non-trivial (DB connection, authentication, authorization, data validation, tests, etc...) Go API?
-
How to structure a project?
This repo might give you some Inspiration: https://github.com/OFFLINE-GmbH/go-webapp-example
What are some alternatives?
go-clean-arch - Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
traefik-crowdsec-bouncer - A http service to verify request and bounce them according to decisions made by CrowdSec.
pkgsite - [mirror] Home of the pkg.go.dev website
UpdatedMonolithSolver - A tool that creates a solution for the "Treasure Hunter! Monolith" minigame in Danganronpa V3: Killing Harmony
Golang-Project-Structure - Golang Skeleton With Fully Managed Versions For Kick Start GoLang Project Development
datly
bbolt - An embedded key/value database for Go.
almanack - Predicts future sports scores
go-clean-template - Clean Architecture template for Golang services
golang-standards/project-layout - Standard Go Project Layout
goapp - An opinionated guideline to structure & develop a Go web application/service
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD