<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daisuzu</author_name>
  <author_url>https://blog.hatena.ne.jp/daisuzu/</author_url>
  <blog_title>daisuzu's notes</blog_title>
  <blog_url>https://daisuzu.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>特に問題なければ go get -u ./... で全て更新してしまうのが楽ですが、更新できないモジュールがある場合は個別に更新する必要があります。 go list -m -u all で全モジュールとその更新有無を確認できるため、 -f でgo getコマンドを出力するようにし、必要なものだけ実行すると楽です。 例えばgoplsはそのまま実行すると以下のようになりますが、 $ go list -m -u all golang.org/x/tools/gopls github.com/BurntSushi/toml v0.4.1 github.com/davecgh/go-spew v1.1.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaisuzu.hatenablog.com%2Fentry%2F2021%2F11%2F15%2F142702&quot; title=&quot;Goのモジュールを個別に更新する - daisuzu&amp;#39;s notes&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-15 14:27:02</published>
  <title>Goのモジュールを個別に更新する</title>
  <type>rich</type>
  <url>https://daisuzu.hatenablog.com/entry/2021/11/15/142702</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
