当前位置:网站首页>Win+sublime Text3 + go 1.9.2 environment setup diagram
Win+sublime Text3 + go 1.9.2 environment setup diagram
2022-06-22 09:24:00 【ootw】
First, prepare the installation files
Git 2.16.2 : https://www.git-scm.com/download
GO 1.9.2 : http://golangtc.com/download
Sublime Text 3 : http://www.sublimetext.com/3
The three software are all direct to the next step , There are many online tutorials , I won't say much more , Then there are two things to say :
1.GO Linguistic GO PATH stay windows operating system (win7,win10) How to set ?
Look at the picture below :

Remember to restart the computer after setting , Because this environment variable will only take effect after restarting .
2.Sublime Text 3 install Package control What to do with failure ?
Press studygolang.com Tutorial installation on , You will get the following tips :
Error validating download (got 6f4c264a24d933ce70df5dedcf1dcaeeebe013ee18cced0ef93d5f746d80ef60 instead of eb2297e1a458f27d836c04bb0cbaf282d0e7a3098092775ccb37ca9d6b2e4b7d), please try manual installNew version of the Sublime Text 3 install package control It's time to choose Tools -> Install Package control In this way :

Then wait a minute ( about 1 Minutes! , I don't know why it's so slow ), This window will pop up after success :

I haven't encountered any unsuccessful situations , Please let me know if you encounter , Learn together and make progress .
After successful installation , Install again GOSublime plug-in unit , The steps are as follows :
1. Enter... Here Install Package

like this :

And then go back , You will see the following window , Type in GoSublime:

And then go back , After a while, you can see that the installation status at the lower left shows success , Here's the picture :

For the convenience of compilation , One more... Needs to be installed Golang Build Plug in for , Methods and Go Sublime equally , Input Golang Build Just go .
Then go to GoPath newly build /src/hello/hello.go, Enter the first code :
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world! Hello! , The world !")
}
then Ctrol+B , Input go build You can see what you compiled exe The file . 边栏推荐
猜你喜欢

Apprentissage automatique | nltk Erreur de téléchargement des données | solution d'erreur de téléchargement du corpus stopwords pour nltk

逻辑回归和线性回归

Detailed explanation and Simulation of string and memory operation functions

模糊查询和聚合函数

景联文科技:机器学习AI数据集产品汇总(三)

Performance optimization topics

希望越来越多的女性从事科技工作
![[detailed explanation] point multiplication and cross multiplication of neural network matrix (pytorch version)](/img/17/e964216d81555d0a1203ee51d4698e.png)
[detailed explanation] point multiplication and cross multiplication of neural network matrix (pytorch version)

VMware安装Kali

VMware installation Kali
随机推荐
在ensp上做多出口服务器映射
循环队列超详细实现,小白秒懂
PHP login registration page
一文走近ZMQ
Comparison of interface abstract classes
Langchao state-owned assets cloud: state-owned assets as a guide to help state-owned enterprises use data to enrich their wisdom in the cloud
Php+mysqli create a table, read multiple items, add, modify and query a complete instance
The difference between scnprintf and snprintf
threejs实现简单全景看房demo
Logistic regression and linear regression
mknod
Threejs implementation of simple panoramic view demo
Express bird of Express query demonstration code (php+curl)
Sound and shadow 2022 heavy release! Detailed explanation of the new functions of Huisheng Huiying 2022
See how much volatile you know
==Classic interview questions
simple_strtoull字符转换相关函数
Alibaba big fish SMS interface PHP version, simplified version Alibaba big fish SMS sending interface PHP instance
IS_ ERR()
希望越来越多的女性从事科技工作