1.Go安装
下载网址
https://golang.google.cn/dl/
,根据需要下载,我下载的是go1.12.5.windows-amd64.msi,网址
https://download.csdn.net/download/zd_nupt/11169398
然后直接安装,中途出现错误,出现2502/2503错误,应该是权限问题。解决方法为管理员打开cmd/powershell,
输入:msiexec /package +‘msi文件路径’(输入的时候注意半角字符且路径不能为中文名) 例如: C:\Windows\system32>msiexec /package “E:\go1.12.5.windows-amd64.msi”
安装成功后,在cmd中输入go可以看到是否成功。
2.Goland破解
下载网址
https://www.jetbrains.com/go/
,安装成功后,下载破解补丁 jetbrains-agent.jar,下载地址为
https://download.csdn.net/download/zd_nupt/11169406
把该文件放到安装路径下;
打开goland,点击激活窗口的“Evaluate for free”免费试用,然后再创建一个空项目,这样就可以进入到Idea的工作页面。
点help–Edit Custom VM Options …–yes
在打开的vmoptions编辑窗口末行添加:-javaagent:你idea的安装目录\jetbrains-agent.jar
重启Idea
点击菜单栏中的 “Help” -> “Register …”
选择Activation code方式激活,复制下面激活码即可:
D00F1BDTGF-eyJsaWNlbnNlSWQiOiJEMDBGMUJEVEdGIiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2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clT8KzRnNKJ1TrPO8rVPjg+SpvqTq75xynS08/OXCpoJ3aVeBWZJYJmheHhvJw2RiNW2P2GSIw+m6HIIsthUtvvHqdKpIaThFHAOKmw0LpPO7uGs/z/Q3un7+lqSlW7akUoSCHdiAJ4wWv+qFEgE4mq8bKtHoa9yy6FZBoORbbRTj8WkS+UvCLN5p7kZenmKYnWCzBf02O1ULpMsR5WvKCGCekSwWf3lAF9lYTL12JaFTw9iH1nSkyvcu7AoXlWI50hOhmA==
点击Help->About这里可以看到你的Idea的版本号、许可来源、有效期、以及一些环境
GoLand 2019.1.1
Build #GO-191.6707.68, built on April 17, 2019
Licensed to
https://zhile.io
Subscription is active until July 8, 2089
JRE: 1.8.0_202-release-1483-b44 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0