zanzibar
guide
zanzibar | guide | |
---|---|---|
2 | 26 | |
451 | 15,269 | |
0.0% | 0.9% | |
4.6 | 4.7 | |
4 days ago | about 1 month ago | |
Go | Makefile | |
MIT License | Apache License 2.0 |
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.
zanzibar
-
I write HTTP services in Go after 13 years (Mat Ryer, 2024)
I wrote a static config class that reads configuration for the entire app / server from a JSON or YAML file ( https://github.com/uber/zanzibar/blob/master/runtime/static_... ).
Once you've loaded it and mutated it for testing purposes or for copying from ENV vars into the config, you can then freeze it before passing it down to all your app level code.
Having this wrapper object that can be frozen and has a `get()` method to read JSON like data make it effectively not mutable.
- Zanzibar: Google’s Consistent, Global Authorization System
guide
- I write HTTP services in Go after 13 years (Mat Ryer, 2024)
- Uber Go Style Guide
-
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
I'm pumped to learn Python. Are there any learning tools or docs I should focus on? For Go I liked the Uber Go Style Guide which represents a modern and idiomatic approach to Go and is a good tour of the language itself (for experienced engineers.) Is there something similar for Python?
- Course recommendation
- Is there a good place to find best practices?
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://github.com/uber-go/guide/blob/master/style.md - must have, write good go code from the beginning.
- Google’s Go Style Guide
-
Feedback for my first code
I really recommend reading: - Effective Go: https://go.dev/doc/effective_go#errors - Style Guide(by Uber): https://github.com/uber-go/guide/blob/master/style.md
-
Development guidelines
As you see - there are no reference to any technology or framework. There are a lot of best-practices for almost any framework, so you can choose an appropriate one. For example - if you're a rails developer, then you can check https://github.com/rubocop/ruby-style-guide and https://github.com/rubocop/rails-style-guide but if you're a golang developer - https://github.com/uber-go/guide/blob/master/style.md and https://developers.mattermost.com/contribute/more-info/server/style-guide/
-
[Beginner]How to structure my project with module and package?
Read ubers style guide first, its good to have some base rules that you follow when beggining. Heres the link: https://github.com/uber-go/guide/blob/master/style.md.
What are some alternatives?
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
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
Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.
uber-go-style-guide-kr - Uber's Go Style Guide Official Translation in Korean. Linked to the uber-go/guide as a part of contributions
golang-standards/project-layout - Standard Go Project Layout
awesome-linux-containers - A curated list of awesome Linux Containers frameworks, libraries and software
ireturn - Accept Interfaces, Return Concrete Types
automaxprocs - Automatically set GOMAXPROCS to match Linux container CPU quota.
Developer-Style-Guides - Style guides from Google, Facebook, Airbnb, Khan Academy and other tech organizations. Covers JavaScript, Swift, Java, Kotlin, and other popular languages. Made for developers by https://hotpot.ai.
uber-style-guide-ja
uber-go-guide-ru - Перевод гайдлайнов Uber по написанию Go кода.
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.