simplebank
pkgsite
simplebank | pkgsite | |
---|---|---|
7 | 13 | |
3,989 | 1,129 | |
- | 1.4% | |
5.4 | 9.1 | |
17 days ago | 11 days ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" 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.
simplebank
- JWT & PASETO Implementation of the Token-Based Authentication
-
Best course for learning Go
The best free course I found for Go is Backend master class. It's very useful, direct and short: - Github repository: https://github.com/techschool/simplebank - YouTube playlist: https://www.youtube.com/playlist?list=PLy_6D98if3ULEtXtNSY_2qN21VCKgoQAE
-
What are well-developed web applications in Golang?
simplebank
- go projects
- Best Online Course To Learn API development in Go?
-
Add users table with unique & foreign key constraints in PostgreSQL
And its Github repository
pkgsite
-
Transitioning from more traditional OOP like C# to Go, what are the biggest coding style differences.
Reading the standard library will give you ideas/insight about various Go idiomatic patterns/approaches, and you can see a full website/API implementation in the pkg.go.dev repository (https://github.com/golang/pkgsite). Projects like https://github.com/etcd-io/etcd may be interesting too.
- What are well-developed web applications in Golang?
- Question about storing everything in an application struct in a web app
-
Mocking database queries - ask for opinion
Let's look at some real codebase for an example on how to write database tests without mocking. The source code for the Go package discovery site(https://pkg.go.dev/) is available at[1] That site uses postgres as its primary database[2]. The database package has a method called GetLatestInfo[3] that fetches the latest versions of a module. That method is called from the frontend http handlers[4] via an interface[5] When it comes to testing that frontend handler, you would expect the tests to use a mock implementation of that interface method. But that's not what they do, instead they use a real postgres database in the test[6].
-
Is there any conventionally accepted repo that is representative of well designed go code ?
The code behind pkg.go.dev is also open-source and might be an interesting read.
-
Generate godoc for pkg with generics
BTW, the number of dependencies of pkgsite surprises me: https://github.com/golang/pkgsite/blob/master/go.mod
-
Good example projects to look through? + a good number of other questions - sorry
The source for Go's pkg site has been helpful to me https://github.com/golang/pkgsite
- Looking for production-grade web app examples
-
Best courses to learn Go for backend?
In my unpopular opinion, the go net/http is good enough to develop the web http application. The standard API is clean and well-documented. One of example is the pkgsite (https://github.com/golang/pkgsite).
-
Golang.org Is Gone
It's also available as a mirror at https://github.com/golang/pkgsite. All the golang.org/x/* packages are thankfully available there, making them pretty easy to find.
What are some alternatives?
sponge_examples - Some examples of using sponge to develop go projects.
solkit - A solitaire collection and solitaire construction kit for terminal
jwt - Community maintained clone of https://github.com/dgrijalva/jwt-go
golds - An experimental Go local docs server/generator and code reader implemented with some fresh ideas.
pcbook-go
wtf - WTF Dial is an example web application written in Go.
coder - Coder provisions software development environments via Terraform on Linux, macOS, Windows, X86, ARM, and of course, Kubernetes.
go-rabbitmq - A wrapper of streadway/amqp that provides reconnection logic and sane defaults
pocketbase - Open Source realtime backend in 1 file
keploy - Test generation for Developers. Generate tests and stubs for your application that actually work!
dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
website - [mirror] Home of the go.dev and golang.org websites