Learning and Communication: Go Language Technology WeChat Group
Business cooperation plus WeChat: LetsFeng
Textbooks, documents to learn Go language, I strongly recommend this book
Start your Go language learning journey now! Life is too short, let's Go.
Learning and sharing: Goland latest version activation simple tutorial, the whole family bucket universal version activation code
GoLand 2022.2 brings new features to Generics and . go.work
We also added support for fuzzing .
SQL statements are now auto-detected and you get full code assistance for them.
GoLand now supports WebSocket connections and can send GraphQL queries over HTTP and WebSocket protocols.
Generics
Intent action to convert empty interface to any
interface{}
replace with any
. From the intent action's popup, you can replace all empty interfaces in the file.Quick fix for removing type parameters with empty parameter lists
Checking for unused type parameters
Check for union of interface and method
Fuzzing
run fuzz tests
You can now run fuzz tests from GoLand. If you click on the green triangle icon in the space next to the fuzz test, you will see different options for running the test. If the test fails, the failed seed corpus entry will be written to a file and placed in testdata
the package directory of the folder.
The path to this file will also appear in the console as a clickable link. If you click this link, the file will open in the IDE with a green triangle icon at the top of the file. Clicking this icon will run go test
and display the failed seed corpus entries.
From GoLand you can also run fuzz tests like normal unit tests
A quick fix for changing the Go SDK
In GoLand, if a Go SDK is configured that does not support fuzzing, the run button will no longer appear in the gutter. We've added a quick fix that changes the Go SDK when the current Go SDK doesn't support fuzzing.
Reference link: https://www.jetbrains.com/zh-cn/go/whatsnew/
For more technical articles or video tutorials related to the Go language, please follow this official account to obtain and view, thank you for your support and trust!