<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>IntelliJ</anon>
  </categories>
  <description>-local付きでgoimportsする goのformatとimportパッケージをよしなにしてくれる goimports コマンドですが、localで独自に定義したpackageをimportするときにこんな風に並んでほしいことが多いです。 import( // 標準pkg // github.comとか有名所pkg // localの独自pkg ) goimportsは何も指定しないと https://github.com/golang/tools/blob/165bdd618e6d174c61ee7bd73a28f3e5c6fdced1/imports/fix.go#L44-L67 で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2018%2F06%2F08%2F012642&quot; title=&quot;goimportsでlocalのパッケージのsort順序を編集する。 - emahiro/b.log&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/ema_hiro/20180608/20180608012237.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-08 01:26:42</published>
  <title>goimportsでlocalのパッケージのsort順序を編集する。</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2018/06/08/012642</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
