go-mockgen-tool
impl
Our great sponsors
go-mockgen-tool | impl | |
---|---|---|
1 | 3 | |
0 | 983 | |
- | - | |
0.0 | 3.4 | |
about 2 years ago | 4 days 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.
go-mockgen-tool
-
Back to basics: Writing an application using Go and PostgreSQL
For testing I wrote https://github.com/jamesrr39/go-mockgen-tool to generate mock implementations of a given interface. It's a different approach from the normal reflect and interface{}... heavy libraries. Might be interesting!
impl
-
Which Tools Do You use daily for Golang development?
impl generates method stubs for implementing an interface
-
[gopher.nvim] Plugin for golang development
What can do this plugin? - Modify struct tags. - Run go get, go mod & go generate commands inside of nvim. - Implement interface by impl. - Generate tests by gotests. - Install required tools for plugin working(by go install).
-
Back to basics: Writing an application using Go and PostgreSQL
Looks interesting! Reminds me impl[0], which comes bundled with `vscode-golang`.
[0]: https://github.com/josharian/impl
What are some alternatives?
sqlc - Generate type-safe code from SQL
gotests - Automatically generate Go test boilerplate from your source code.
dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
pgxtutorial - Example of how to build a web service using Go, PostgreSQL, and gRPC
whatgotdone - A tool for sharing weekly task updates with teammates.
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
go - The Go programming language
pgx - PostgreSQL driver and toolkit for Go
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.