<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Golang on Roam Tech-verse | Roamverse Technical Blog</title>
    <link>/notes/golang/</link>
    <description>Recent content in Golang on Roam Tech-verse | Roamverse Technical Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Copyright © 2020-2026 Razon Yang. All Rights Reserved.
</copyright><atom:link href="/notes/golang/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>创建 Go Module</title>
      <link>/notes/golang/create-module/</link>
      <pubDate>Sat, 08 Jun 2024 06:27:21 +0000</pubDate>
      <guid>/notes/golang/create-module/</guid>
      <description><![CDATA[<h1 id="go-path" data-numberify>Go Path<a class="anchor ms-1" href="#go-path"></a></h1>
<p>在 Golang 1.11 之前，Go 采用的是手动依赖管理，也就是使用 Go Path 的方式管理依赖。</p>
<p>使用 Go Path 会有以下问题：</p>
<ol>
<li>代码开发必须在 Go Path 的 <code>src</code> 目录下。</li>
<li>依赖手动管理。</li>
<li>依赖包没有版本可言。</li>
</ol>
<hr>

<h1 id="go-modules" data-numberify>Go Modules<a class="anchor ms-1" href="#go-modules"></a></h1>
<p>Go Modules 是 Golang 1.11 新加的特性。Go Modules 的特点如下：</p>]]></description>
    </item>
    
  </channel>
</rss>

