Mac uses the Option+Command+L shortcut to quickly format the selected code block. If you want to enable automatic formatting of the code when the file is saved, you can add a Watcher
Click Goland -> Preferences -> Tools -> File Watchers, then add a go fmt tool, then click "Apply" and "OK", so that every time the file is saved, code formatting will be automatically triggered.




![[NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍](/img/29/92b9d52d17a203b8bdead3eb2c902e.png)




