<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Getting Started on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/getting-started/</link><description>Recent content in Getting Started on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Thu, 24 Jun 2021 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/getting-started/atom.xml" rel="self" type="application/rss+xml"/><item><title>Building and Using Go Private Packages</title><link>https://www.chenshaowen.com/en/blog/building-and-using-go-private-packages.html</link><pubDate>Thu, 24 Jun 2021 00:00:00 +0000</pubDate><atom:modified>Thu, 24 Jun 2021 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/building-and-using-go-private-packages.html</guid><description>1. Create a Go Modules Project Create the directory 1 2 mkdir go-test cd go-test Initialize the package 1 2 3 4 5 go mod init gitlab.private.com/shaowenchen/go-test go: creating new go.mod: module gitlab.private.com/shaowenchen/go-test go: to add module requirements and sums: go mod tidy Add the business code main.go
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package main import ( &amp;#34;github.</description><dc:creator>微信公众号</dc:creator><category>Go</category><category>Getting Started</category><category>Build</category><category>R&amp;D</category></item><item><title>Go Development Configuration</title><link>https://www.chenshaowen.com/en/blog/configuration-of-developing-go.html</link><pubDate>Wed, 23 Jan 2019 00:00:00 +0000</pubDate><atom:modified>Wed, 23 Jan 2019 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/configuration-of-developing-go.html</guid><description>1. Common Environment Variables 1.1 GOROOT $GOROOT is the local directory where the Go package is installed.
1 2 3 4 cd /c/Go ls AUTHORS CONTRIBUTORS PATENTS VERSION bin favicon.ico misc robots.txt test CONTRIBUTING.md LICENSE README.md api doc lib pkg src 1.2 GOPATH $GOPATH is the Go workspace directory, used to hold code, third-party libraries, compiled intermediate files, and so on.</description><dc:creator>微信公众号</dc:creator><category>Go</category><category>Getting Started</category><category>Environment Variables</category><category>Development Environment</category><category>R&amp;D</category></item></channel></rss>