随笔分类 -  GoLng

GoLang 解决中文乱码
摘要:首先需要下载 go get golang.org/x/text/encoding/simplifiedchinese go get golang.org/x/text/transform package main import ( "bytes" "golang.org/x/text/encodin 阅读全文

posted @ 2022-05-22 01:06 孞峰 阅读(1485) 评论(0) 推荐(0)

CentOS 7.6 安装 GoLang
摘要:一、下载 GoLang 最新版 进入 /usr/local 目录 cd /usr/local 下载到当前目录 wget https://golang.google.cn/dl/go1.18.2.linux-amd64.tar.gz 解压 tar -xvf go1.18.2.linux-amd64.t 阅读全文

posted @ 2022-05-21 13:28 孞峰 阅读(271) 评论(0) 推荐(0)

导航