{"description":"https://golang.org/pkg/regexp/#MustCompile \u2191 \u3053\u3093\u306a\u611f\u3058\u3067 Must \u304c\u4ed8\u3044\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308b\u3002 Must \u304c\u4ed8\u3044\u3066\u3044\u308b\u3082\u306e\u306f error \u3092\u8fd4\u3059\u4ee3\u308f\u308a\u306b panic \u3092\u767a\u751f\u3055\u305b\u308b\u3002\u3067\u4e0a\u8a18\u306e MustCompile() \u306e\u8aac\u660e\u6587\u306e\u4e00\u90e8\u304c\u4ee5\u4e0b\u3002 It simplifies safe initialization of global variables holding compiled regular expressions.\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u5909\u6570\uff08package private \u306a\u5909\u6570\uff09\u3092\u5b89\u5168\u306b\u521d\u671f\u5316\u3059\u308b\u305f\u3081\u306b\u5229\u7528\u3059\u308b\u3089\u3057\u3044\u3002\u5b89\u5168\u306b\u521d\u671f\u5316\u3059\u308b\u3063\u3066\u3069\u30fc\u3086\u30fc\u3053\u3068\u304b\u2026","blog_url":"https://www.pospome.work/","title":"golang \u306e\u30e1\u30bd\u30c3\u30c9\u540d\u306e Must \u306b\u3064\u3044\u3066","version":"1.0","author_name":"pospome","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://www.pospome.work/entry/2016/12/20/211926","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F2016%2F12%2F20%2F211926\" title=\"golang \u306e\u30e1\u30bd\u30c3\u30c9\u540d\u306e Must \u306b\u3064\u3044\u3066 - pospome\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"pospome\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u65e5\u8a18","type":"rich","published":"2016-12-20 21:19:26","categories":["golang"],"height":"190","author_url":"https://blog.hatena.ne.jp/pospome/"}