[Go] goland开启自动格式化和开启go modules

打开file==>settings==>tools===>file watchershtml

点击右边的加号 , 增长go fmtide

 

 

打开 file ===> settings ===> Go===>go modules 那个复选框勾上post