optgen | reflex | |
---|---|---|
1 | 15 | |
14 | 3,276 | |
- | - | |
3.3 | 0.0 | |
11 months ago | 6 months ago | |
Go | Go | |
Apache License 2.0 | 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.
optgen
-
How to start a Go project in 2023
Things I can't live without in a new Go project in no particular order:
- https://github.com/golangci/golangci-lint - meta-linter
- https://goreleaser.com - automate release workflows
- https://magefile.org - build tool that can version your tools
- https://github.com/ory/dockertest/v3 - run containers for e2e testing
- https://github.com/ecordell/optgen - generate functional options
- https://golang.org/x/tools/cmd/stringer - generate String()
- https://mvdan.cc/gofumpt - stricter gofmt
- https://github.com/stretchr/testify - test assertion library
- https://github.com/rs/zerolog - logging
- https://github.com/spf13/cobra - CLI framework
FWIW, I just lifted all the tools we use for https://github.com/authzed/spicedb
We've also written some custom linters that might be useful for other folks: https://github.com/authzed/spicedb/tree/main/tools/analyzers
reflex
- How to start a Go project in 2023
- Implement auto-reload after update
- File System Watcher
- Watchman: Execute a command when something changes
-
Live Reload in Go with Air
Neat. I've used reflex in the past for this.
-
Fzf – a command-line fuzzy finder
entr is written in C, watchexec is written in Rust.
There's another one that I've used that is written in go: https://github.com/cespare/reflex
I am inclined to use watchexec next time I need one.
-
How do you live reload html pages in development?
rerun your go program when you change a file https://github.com/cespare/reflex
-
Testing flow for Go in VS Code?
There are tools like https://github.com/cespare/reflex that run a command when specific files are changing. You could use it to run go test whenever one of your files changes, so the changes would be reflected instantly in the terminal.
- Mainteneur sur un petit projet pendant Hacktoberfest
-
Dockerize your Go app
We'll be using Reflex as part of our development workflow. If you're not familiar, Refelx provides live reload when developing.
What are some alternatives?
spicedb - Open Source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications
air - ☁️ Live reload for Go apps
entr - Run arbitrary commands when files change
Go for Visual Studio Code
goreleaser - Deliver Go binaries as fast and easily as possible
modd - A flexible developer tool that runs processes and responds to filesystem changes
dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
golang-docker-cache - Improved docker Golang module dependency cache for faster builds.
Yampa - Functional Reactive Programming domain-specific language for efficient hybrid systems
go-md2man
fsnotify - Cross-platform file system notifications for Go.
python-qnapstats - Python API for obtaining QNAP NAS system stats