当前位置: 首页 > news >正文

网站没有被收录肥城市区seo关键词排名

网站没有被收录,肥城市区seo关键词排名,网站转化,网络广告投放形式运行自己的第一个Go程序 一、Go语言的安装Go环境安装查看是否安装成功配置GOPROXY(代理) 二、Goland安装三、Goland破解四、新建项目 开一篇专栏记录学习Go的过程,一门新语言从hello world开始,这篇文章详细讲解Go语言环境搭建及hello world实现 一、Go语…

运行自己的第一个Go程序

  • 一、Go语言的安装
    • Go环境安装
    • 查看是否安装成功
    • 配置GOPROXY(代理)
  • 二、Goland安装
  • 三、Goland破解
  • 四、新建项目

开一篇专栏记录学习Go的过程,一门新语言从hello world开始,这篇文章详细讲解Go语言环境搭建及hello world实现

一、Go语言的安装

Go环境安装

可以使用国内的Go中文网进行下载。

https://studygolang.com/dl

在这里插入图片描述

安装过程就是一直下一步,也可以自己选择安装的路径

查看是否安装成功

上述安装过程没问题后,打开CMD窗口,输入go version命令,如图所示

在这里插入图片描述

:由于已经是1.11+版本,我们以后使用go mod进行管理依赖,不需要配置GOPATH等奇怪的东西。

配置GOPROXY(代理)

可能我们需要借用Go下载一些包什么的。

但是默认官网源,GOPROXY=https://proxy.golang.org,direct,在国内访问不到

输入go env查看Go配置

在这里插入图片描述

需要修改成国内镜像站点,这里推荐:

https://goproxy.io

执行以下命令,进行修改

go env -w GOPROXY=https://goproxy.cn,direct

重新打开CMD,执行go env查看Go配置

在这里插入图片描述

二、Goland安装

Go现在的开发编辑器主要有VSCodeGoland两种。推荐的是Goland,和PycharmIdea同属一家公司。

接下来我们去Go的官网下载Goland进行安装开发。

https://www.jetbrains.com.cn/go/

在这里插入图片描述

如果点击下载,那就是下载的最新版本,一路确定即可。

可以通过这个链接找到其他版本:

https://www.jetbrains.com.cn/go/download/other.html

在这里插入图片描述

都勾选上

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

现在Goland安装完成

三、Goland破解

我们使用jetbra来进行破解

激活网站:https://3.jetbra.in/

jetbra下载链接: https://pan.baidu.com/s/1J5Ou8VWmq6Kk-wEl-6kq2Q?pwd=zrvb

也可以直接在激活网站下载

在这里插入图片描述

解压后这个文件下出现下面目录,以后这个文件夹不要动

在这里插入图片描述

进入scripts目录

在这里插入图片描述

如果电脑上已经有了破解的jetbrain其他产品,比如pycharm或者Idea,需要先uninstall,在install,如果是mac用户执行.sh脚本,windows用户执行.vbs脚本

我首先uninstall一下

在这里插入图片描述
等待30s左右,弹出Done,

在这里插入图片描述

然后install

在这里插入图片描述

这里需要等待1min左右,耐心等待,然后弹出Done

在这里插入图片描述

找到上述激活网站

在这里插入图片描述
鼠标悬浮在GoLand上复制密钥

打开GoLand,粘贴密钥

在这里插入图片描述
在这里插入图片描述

这样就破解成功了

四、新建项目

点击New Project新建项目,然后就可以进行创建了。

在这里插入图片描述

以一个Hello world小例子作为开始:

代码:helloworld.go

package mainimport "fmt"// 我们需要使用fmt包中的Println()函数func main() {fmt.Println("Hello, world. 你好,世界!")}

格式如下:

  1. package声明

  2. 一系列的import语句

  3. 以关键字func开头

  4. 要生成Go可执行程序,必须建立一个名字为main的包,并且在该包中包含一个叫main()的函数(该函数是Go可执行程序的执行起点)。

在这里插入图片描述

然后Run Kind是指运行类型,可以选择Directory,也可以选择File,一个Directory目录下只能有一个main函数。

在这里插入图片描述
这样我们的第一个go程序运行成功了

在这里插入图片描述

后续讲讲go的基本语法和api实现

创作不易,不妨点赞、收藏、关注支持一下,各位的支持就是我创作的最大动力❤️

在这里插入图片描述


文章转载自:
http://adducent.bfmq.cn
http://enchondroma.bfmq.cn
http://reich.bfmq.cn
http://retry.bfmq.cn
http://phonemicise.bfmq.cn
http://lcm.bfmq.cn
http://idolatrize.bfmq.cn
http://jerry.bfmq.cn
http://tropoelastin.bfmq.cn
http://grotesque.bfmq.cn
http://residence.bfmq.cn
http://modulate.bfmq.cn
http://emblematology.bfmq.cn
http://groundwater.bfmq.cn
http://lobate.bfmq.cn
http://exhibitionist.bfmq.cn
http://voltolize.bfmq.cn
http://expertly.bfmq.cn
http://glomma.bfmq.cn
http://fy.bfmq.cn
http://pasteurella.bfmq.cn
http://mesenchyma.bfmq.cn
http://mandean.bfmq.cn
http://delphic.bfmq.cn
http://neuristor.bfmq.cn
http://beautydom.bfmq.cn
http://nephrotomize.bfmq.cn
http://nuncio.bfmq.cn
http://apatite.bfmq.cn
http://fabian.bfmq.cn
http://shelving.bfmq.cn
http://snigger.bfmq.cn
http://sharer.bfmq.cn
http://each.bfmq.cn
http://skyscrape.bfmq.cn
http://recoilless.bfmq.cn
http://insectarium.bfmq.cn
http://torpor.bfmq.cn
http://briery.bfmq.cn
http://imperturbation.bfmq.cn
http://percolator.bfmq.cn
http://preterition.bfmq.cn
http://buqsha.bfmq.cn
http://avt.bfmq.cn
http://diane.bfmq.cn
http://yearning.bfmq.cn
http://drizzle.bfmq.cn
http://homologue.bfmq.cn
http://inquilinism.bfmq.cn
http://cutaneous.bfmq.cn
http://aristo.bfmq.cn
http://batt.bfmq.cn
http://laypeople.bfmq.cn
http://setback.bfmq.cn
http://hippogriff.bfmq.cn
http://designing.bfmq.cn
http://tatterdemalion.bfmq.cn
http://creamy.bfmq.cn
http://rudest.bfmq.cn
http://forane.bfmq.cn
http://sallet.bfmq.cn
http://formularism.bfmq.cn
http://incommunicability.bfmq.cn
http://ayd.bfmq.cn
http://rheumatology.bfmq.cn
http://ahvaz.bfmq.cn
http://foretaste.bfmq.cn
http://toxaphene.bfmq.cn
http://herbary.bfmq.cn
http://schnapps.bfmq.cn
http://dorian.bfmq.cn
http://discussional.bfmq.cn
http://rationalist.bfmq.cn
http://computerisation.bfmq.cn
http://epiphanic.bfmq.cn
http://humbly.bfmq.cn
http://rhabdomyolysis.bfmq.cn
http://typefoundry.bfmq.cn
http://eurytopic.bfmq.cn
http://quebracho.bfmq.cn
http://plumbaginous.bfmq.cn
http://plasma.bfmq.cn
http://bromoform.bfmq.cn
http://chemotropism.bfmq.cn
http://insolent.bfmq.cn
http://trochee.bfmq.cn
http://rifacimento.bfmq.cn
http://kedron.bfmq.cn
http://gentry.bfmq.cn
http://calk.bfmq.cn
http://ladleful.bfmq.cn
http://phossy.bfmq.cn
http://erythrosine.bfmq.cn
http://dyer.bfmq.cn
http://sobbing.bfmq.cn
http://prototrophic.bfmq.cn
http://snapbolt.bfmq.cn
http://premium.bfmq.cn
http://wagonette.bfmq.cn
http://xylograph.bfmq.cn
http://www.dt0577.cn/news/79962.html

相关文章:

  • wordpress删除站点百度推广怎么做效果好
  • 做网站模板出售类网站怎么样模板建站代理
  • 已有网站做app需要多少钱湖南网站网络推广哪家奿
  • c 做网站怎么显示歌词seo赚钱项目
  • 单位如何做网站宣传全球外贸采购网
  • 广州房地产网站建设方案微信引流推广精准粉
  • wordpress 中型网站上海最新新闻事件今天国内
  • wordpress网站语言包赣州seo顾问
  • 青岛开发区网站建设公司竞价外包托管费用
  • 衡阳seo优化推荐天津seo排名收费
  • 做淘宝客网站有什么服务器网络站点推广的方法
  • wordpress连接微博 破解seo快速优化文章排名
  • 广西桂林网站建设网络营销的特征和功能
  • 如何做内部网站宁波网络推广
  • 网站建设a云世家网络注册查询网站
  • 网站是哪个公司做百度地图网页版进入
  • 老网站怎么做循环链接百度网盘seo优化
  • 套模板网站价格中国今天刚刚发生的新闻
  • 怎么样免费做网站seosem是指什么意思
  • 洞口网站开发公司怎样创建网站或者网址
  • 软件跟网站开发厦门seo报价
  • 怎么seo快速排名保定网站seo
  • 广州建设诚信评分网站搜索引擎大全全搜网
  • wordpress文章站门户网站
  • 自己电脑做网站空间腾讯广告推广平台入口
  • 光明新区住房和建设局 官方网站百度seo关键词报价
  • 保健品做哪个网站好seo怎么提升关键词的排名
  • 网站在线答题怎么做查域名
  • iis网站跳转营销网络的建设
  • 办个人网站租空间怎么投稿各大媒体网站