How does Goland align identifiers when writing structures?

how do Goland align identifiers when writing structures? Something like this: does
have shortcut keys? Or can I just press the space manually?

clipboard.png

Jan.08,2022

gofmt or goimport will be automatically formatted
if you can configure this with Goland or idea, it will be automatically formatted when saved


goland: ctrl + shift + L, MAC


:
File Watchers
clipboard.png

:
clipboard.png
OK, save, when you save the file, it will automatically run gofmt to format your code, including the identifier you said.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3e5bf-4beb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3e5bf-4beb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?