ego
wtf
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.
ego
-
Anyone here using Go for more traditional Web application development?
I think the most under-appreciated part of Go web dev is using a template system that transpiles to Go. It gives you end-to-end type checking which feels amazing. I wrote a port of eRB called ego but I believe there are other similar Go templates tools too.
-
Golang web framework for fast development?
For templating, I use ego templates because there's not really any template language to learn (it's just Go) and it still gives you compile-time type checking. I use gorilla/mux for a router.
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?
What are some alternatives?
raymond - Handlebars for golang
go-clean-arch - Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
Plush - The powerful template system that Go needs
pkgsite - [mirror] Home of the pkg.go.dev website
velvet - A sweet velvety templating package
Golang-Project-Structure - Golang Skeleton With Fully Managed Versions For Kick Start GoLang Project Development
goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
bbolt - An embedded key/value database for Go.
quicktemplate - Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template
go-clean-template - Clean Architecture template for Golang services
Jet Template Engine for GO - Jet template engine
go-webapp-example - Example web application written in Go