opts
Small Go lib for generic, vararg func opts (by eddieowens)
options-gen
Codegen for functional options in go projects (by kazhuravlev)
opts | options-gen | |
---|---|---|
1 | 1 | |
1 | 60 | |
- | - | |
10.0 | 7.4 | |
almost 2 years ago | 4 months ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
opts
Posts with mentions or reviews of opts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-04.
-
An Efficient Struct Configuration Pattern For Golang
I've used this a ton throughout my projects. I actually created a tiny generics library to handle it more easily because I was tired of setting up all the boilerplate.
options-gen
Posts with mentions or reviews of options-gen.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Options generator
GitHub - kazhuravlev/options-gen
What are some alternatives?
When comparing opts and options-gen you can also consider the following projects:
golang-set - A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.
gocontracts - A tool for design-by-contract in Go
lancet - A comprehensive, efficient, and reusable util function library of Go.
reload - Simple managed reload mechanism for Go
go-envconfig - A Go library for parsing struct tags from environment variables.
sqlgen - A tool to generate bun, gorm, sql, sqlx and xorm sql code.
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
just - Collection of useful functions. Complete simple tasks faster!