设为首页 加入收藏

TOP

Go语言开发环境配置(二)
2017-09-30 13:47:02 】 浏览:4790
Tags:语言 开发 环境 配置
nbsp;      "GOPATH": "E:\\mygo"  
  •         },  


  •  

    三.编写和运行Go程序

    1.用sublime在gopath/src目录下新建一个程序hello.go,代码如下

    2.运行go程序 CTRL+B打开sublime的命令行,在提示符下输入 go run hello.go

    3.编译生成exe程序 CTRL+B打开sublime的命令行,在提示符下输入 go build hello.go

    四 .go语言学习资料

    1.go指南:官网链接:https://go-tour-zh.appspot.com/welcome/1(需要梯子),如果无法打开请用国内链接:http://tour.studygolang.com/

    2.《the way to go》,如果看英文感觉吃力,github上无闻大牛已经做了中文译本:https://github.com/Unknwon/the-way-to-go_ZH_CN

    3.《Go 学习笔记 第三版》雨痕写的,该电子书在github开源:https://github.com/qyuhen/book

    4.《go web 编程》,是谢大(beego的作者)写的电子书,github中文目录链接:https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/preface.md

    5.《go编程基础》视频教程,此教程是无闻大牛讲解的,github视频链接:https://github.com/Unknwon/go-fundamental-programming

    首页 上一页 1 2 下一页 尾页 2/2/2
    】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
    上一篇Go eclipse plugin 下一篇Programming in Go (Golang) – ..

    最新文章

    热门文章

    Hot 文章

    Python

    C 语言

    C++基础

    大数据基础

    linux编程基础

    C/C++面试题目