go.nvim
gotests
go.nvim | gotests | |
---|---|---|
30 | 10 | |
1,770 | 4,849 | |
- | - | |
9.1 | 0.0 | |
10 days ago | 8 months ago | |
Lua | Go | |
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.
go.nvim
-
What are your custom treesitter language injections?
Also, I recently started using the nightly version of Neovim and I noticed that my queries were not working, so between version 0.9.4 and 0.10.0 of Neovim there are breaking changes in terms of treesitter queries, I suggest you go to this file in the ray-x/go.nvim repository so you can see the queries for both Neovim 0.9.4 and 0.10.0 versions.
-
How do I execute `:GoFmt` on Go file save?
To clarify, I want https://github.com/ray-x/go.nvim ability to invoke golines when formatting. Now I want to replace the default format on save with :GoFmt for Go files. (Already verified that invoking the command manually does what I need.)
-
What IDEA or Vscode feature/function you want to have in neovim eco-system?
You can try https://github.com/ray-x/go.nvim or at least use it's code to implement sql embed.
-
pls help!: after i run dap to debug golang, i cant edit my file, it will auto change to normal mode, is dap or lsp problem?
I have had this problem because of too many dap extensions, go.nvim and other golang plugins. These plugins have many auto keymaps, i delete some of them and fix this problem,but i dont remember the detail what i delete. Hope i can help you
-
Looking for Advice on Neovim and Golang Workflow
I've not used it but apparently this has been recommended before for Go dev with Neovim: https://github.com/ray-x/go.nvim
-
Go missing some syntax highlighting
This is my neovim setup with ray-x/go.nvim
-
nvim when I open an empty file from go
There are a handful of really good go plugins that take care of this for you, such as https://github.com/ray-x/go.nvim or https://github.com/fatih/vim-go
-
What's the most commonly used IDE for golang development ?
point noted, thx. I have this link : https://github.com/ray-x/go.nvim
-
How to run displayed options here (Check for upgrades etc..)? I only see them show up in this file and curious how one goes about running them. (AstroNvim, gopls)
If you are using ray-x/go.nvim, then try :GoCodeLenAct while your cursor is on the same row as the virtual text.
-
Problem with Treesitter textobjects
I'm using lazyvim. everything is working as expected for Go Dev environment. I'm using this plugin for the configuration ray-x/go.nvim. My problem is that the selection movements work, like af, if... but for movements like '[m', it's not working, I just get the default behavior of moving to the next '[' and not the start of the method.
gotests
-
Russ Cox: Go Testing by Example
A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests[0] to generate the template.
If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".
[0] https://github.com/cweill/gotests
-
Table-driven tests are overrated.
I believe vscode does it using gotests (https://github.com/cweill/gotests), so people can probably use it outside of vscode too.
-
[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).
-
What is the hardest part of the load/performance testing?
I was just thinking about some smart solutions. For example generating test plan and fake data by inspecting current changes on the code and db schema. Just like this https://github.com/cweill/gotests but for performance test plans.
-
Take on a better unit test style
Did you encounter gotests when you were doing your research? It's a table test generation tool that generates test code using t.Run(). I do wish it could generate tests using testify, because I frequently end up rewriting the code in the inner loop, but I still use it because it's better than I am about ensuring there's a test for all functions I write.
-
Patterns for unit testing in Go?
I use https://github.com/cweill/gotests to generate the test scaffolding.
- Share your must-know Go development tips
- gotests
- ¿Como estructurar tu aplicación en Go?
-
Learn Go in ~5mins
You can save yourself a minute and generate the test case boilerplate for your with https://github.com/cweill/gotests :)
What are some alternatives?
vim-go - Go development plugin for Vim
ginkgo - A Modern Testing Framework for Go
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
gomock - GoMock is a mocking framework for the Go programming language.
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]
selenoid - Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
go-sqlmock - Sql mock driver for golang to test database interactions
navigator.lua - Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
go-fuzz - Randomized testing for Go
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful and less bloated.
Mmock - Mmock is an HTTP mocking application for testing and fast prototyping