<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thekoruku</author_name>
  <author_url>https://blog.hatena.ne.jp/thekoruku/</author_url>
  <blog_title>done is better than perfect</blog_title>
  <blog_url>https://dibtp.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Pythonとかではset型が標準でありますが、Go言語には標準ではなさそうなので調べてみたら便利なライブラリが見つかったので簡単に紹介。 deckarep/golang-set 使い方は以下のような感じです。 package main import ( &quot;fmt&quot; &quot;github.com/deckarep/golang-set&quot; ) func main() { list := []int{1, 2, 3, 4, 5, 2, 4, 6} set := mapset.NewSet() for _, v := range list { set.Add(v) } fmt.Println(set) /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdibtp.hateblo.jp%2Fentry%2F2014%2F11%2F15%2F151349&quot; title=&quot;Go言語でのSet(集合)型について - done is better than perfect&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>2014-11-15 15:13:49</published>
  <title>Go言語でのSet(集合)型について</title>
  <type>rich</type>
  <url>https://dibtp.hateblo.jp/entry/2014/11/15/151349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
