Structure tags

Quickly add tags to any fields from structures

GoLand helps you add struct tags using custom live templates built into the IDE.

How to use:

Adding tags to a structure can be done by starting to type either json or xml after the field type.

Related Resources

Improve Code Readability and Navigation
Discover how to manage code visibility with code folding in Go
Create a function in another package
Type a non-existing function name and generate its implementation in a package of your choice
Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions