pebble
clock
pebble | clock | |
---|---|---|
2 | 1 | |
133 | 6 | |
4.5% | - | |
9.0 | 0.0 | |
3 days ago | over 5 years ago | |
Go | Go | |
GNU General Public License v3.0 only | 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.
pebble
-
What type of software do you write at your workplace?
At Canonical I work on two open-source projects written in Go: Juju, a large cloud-based application deployment tool, and Pebble, a small Linux service manager. Both include CLI clients and API-based server daemons. Juju in particular is a large distributed system.
-
Useful and Useless Code Comments
Yeah, I like the "visual boundaries" way of framing it. A line of whitespace is a visual boundary, of course, but I find the // comment above it acts as a heading. Like a bold heading above a couple of paragraphs of text in a document.
I wouldn't add a heading above every paragraph, but I would might above every few paragraphs. In code, this translates to every 5-15 lines of code. Here's some code I wrote recently that shows this (https://github.com/canonical/pebble/blob/b152ff448bbe7d08c39...):
func writeFile(item writeFilesItem, source io.Reader) error {
clock
-
What type of software do you write at your workplace?
https://github.com/LopatkinEvgeniy/clock an in-house package written to mock time in unit tests which need it (at the time it was written, its competitors were not quite on par; the situation had most probably changed since then).
What are some alternatives?
goleveldb - LevelDB key/value database in Go.
safefile - Go package safefile implements safe "atomic" saving of files.
Juju - Orchestration engine that enables the deployment, integration and lifecycle management of applications at any scale, on any infrastructure (Kubernetes or otherwise).
reposure - Manage and access cloud-native container image registries for Kubernetes
Benthos - Fancy stream processing made operationally mundane
cobra - A Commander for modern Go CLI interactions
gqlgen - go generate based graphql server library
easyjson - Fast JSON serializer for golang.
jsoniter - A high-performance 100% compatible drop-in replacement of "encoding/json"
colfer - binary serialization format
zap - Blazing fast, structured, leveled logging in Go.
ozzo-validation - An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.