<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k1LoW</author_name>
  <author_url>https://blog.hatena.ne.jp/k1LoW/</author_url>
  <blog_title>Copy/Cut/Paste/Hatena</blog_title>
  <blog_url>https://k1low.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>runnでトークンやパスワードといった機密データをマスクする機能を作りたかったので、そのためのパッケージを作りました。 github.com 機能は単純で、maskedio.NewWriter(w io.Writer) で、任意の io.Writer を内包したインスタンス *maskedio.Writer を作成します。*maskedio.Writer は io.Writer を満たすのでそれを代わりに使うというものです。 そして、任意のキーワードを登録すると、そのキーワードが指定の文字列（デフォルトは ***** ）で置換されて、元の io.Writer に渡されます。 一見するとシンプル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk1low.hatenablog.com%2Fentry%2F2024%2F12%2F16%2F083000&quot; title=&quot;任意の文字列をマスクするmaskedioパッケージを作ったが実装に不満がある - Copy/Cut/Paste/Hatena&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>2024-12-16 08:30:00</published>
  <title>任意の文字列をマスクするmaskedioパッケージを作ったが実装に不満がある</title>
  <type>rich</type>
  <url>https://k1low.hatenablog.com/entry/2024/12/16/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
