{"id":5080,"date":"2020-10-04T03:40:42","date_gmt":"2020-10-03T18:40:42","guid":{"rendered":"https:\/\/greentown.tokyo\/?p=5080"},"modified":"2020-10-04T18:05:54","modified_gmt":"2020-10-04T09:05:54","slug":"programminglanguage-go5","status":"publish","type":"post","link":"https:\/\/greentown.tokyo\/?p=5080","title":{"rendered":"\u7b2c\uff15\u56de\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eGo\u300d\u30aa\u30f3\u30e9\u30a4\u30f3\u8aad\u66f8\u4f1a"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/techbookfest.org\" target=\"_blank\">\u6280\u8853\u66f8\u5178\uff19<\/a>\u306b\u53c2\u52a0\u3057\u307e\u3057\u305f\u3002\u81ea\u5206\u304c\u62c5\u5f53\u3057\u305f\u7ae0\u306f\u8d85\u7d76<strong>\u304a\u307e\u3051<\/strong>\u30ec\u30d9\u30eb\u3067\u7d39\u4ecb\u3059\u308b\u306e\u304c\u6065\u305a\u304b\u3057\u3044\u304f\u3089\u3044\u306a\u306e\u3067\u3059\u304c\u3001<strong>\u4ed6\u306e\u7ae0\u304c \u3068\u3066\u3082 \u3068\u3066\u3082 \u3068\u301c\u3063\u3066\u3082\u30aa\u30b9\u30b9\u30e1<\/strong>\u306a\u306e\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002Go\u306e\u57fa\u672c\u6587\u6cd5\u304c\u7d42\u308f\u3063\u3066\u8131\u30d3\u30ae\u30ca\u30fc\u3057\u305f\u3044\u65b9\u3001\u7af6\u30d7\u30ed\u306b\u5165\u9580\u3057\u305f\u3044\u65b9\u3001\u5206\u6563\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u306eKafka\u3063\u3066\u4f55\uff1f\u306a\u65b9\u3001\u306a\u3069\u306a\u3069\u591a\u5f69\u306a\u5185\u5bb9\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u304a\u5024\u6bb5\u306f\u3001Go1.15\u306b\u3061\u306a\u3093\u30671150\u5186\u306a\u308a&#x1f439;<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/1a33c559c577ee306f51d4882a26fee3.png\" alt=\"Go\u796d\" class=\"wp-image-5084\" width=\"257\" height=\"358\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p><a href=\"https:\/\/techbookfest.org\/product\/5410766247165952?productVariantID=6015334293176320\" target=\"_blank\" rel=\"noopener noreferrer\">Go\u796d<\/a><\/p>\n<ul>\n<li>Go Starter Book<\/li>\n<li>Go \u306e\u3044\u308d\u3044\u308d\u306a\u66f8\u304d\u65b9\u3092\u6bd4\u8f03\u3057\u3066\u307f\u308b<\/li>\n<li>Go \u3067\u4f5c\u308d\u3046\uff01Web\u30a2\u30d7\u30ea\u306e\u30ab\u30b9\u30bf\u30e0\u30a8\u30e9\u30fc<\/li>\n<li>Go \u3067\u306f\u3058\u3081\u308b\uff01\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u30c7\u30fc\u30bf\u69cb\u9020<\/li>\n<li>Gopher\u306e\u305f\u3081\u306e\u30c9\u30ed\u30fc\u30f3\u6559\u5ba4<\/li>\n<li>Go \u3067Kafka\u306b\u5165\u9580<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<p>\u3067\u306f\u672c\u984c\u3002\u3053\u3061\u3089\u306e\u672c\u3067\u304a\u52c9\u5f37\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<a target=\"_blank\" href=\"https:\/\/www.amazon.co.jp\/gp\/product\/4621300253\/ref=as_li_tl?ie=UTF8&amp;camp=247&amp;creative=1211&amp;creativeASIN=4621300253&amp;linkCode=as2&amp;tag=natukacchoama-22&amp;linkId=dae28f862dd2338a5fae33655b6987eb\" rel=\"noopener noreferrer\"><img decoding=\"async\" border=\"0\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;MarketPlace=JP&amp;ASIN=4621300253&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL160_&amp;tag=natukacchoama-22\"><\/a><img decoding=\"async\" src=\"\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=natukacchoama-22&amp;l=am2&amp;o=9&amp;a=4621300253\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\">\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<a target=\"_blank\" href=\"https:\/\/www.amazon.co.jp\/gp\/product\/4621300253\/ref=as_li_tl?ie=UTF8&amp;camp=247&amp;creative=1211&amp;creativeASIN=4621300253&amp;linkCode=as2&amp;tag=natukacchoama-22&amp;linkId=0f2b45b5a78960cf67c7e819eaccb02c\" rel=\"noopener noreferrer\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eGo (ADDISON-WESLEY PROFESSIONAL COMPUTING SERIES)<\/a><img decoding=\"async\" src=\"\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=natukacchoama-22&amp;l=am2&amp;o=9&amp;a=4621300253\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\">\n<\/div>\n<\/div>\n\n\n\n<p>\u5370\u8c61\u306b\u6b8b\u3063\u305f\u3068\u3053\u308d\u306e\u3001\u3056\u3063\u304f\u308a\u30e1\u30e2<\/p>\n<h2><span style=\"font-size: 27.299999237060547px; font-weight: 600;\">\u7b2c\uff14\u7ae0\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u578b \u7d9a\u304d<\/span><\/h2>\n<p>\u30b9\u30e9\u30a4\u30b9\u3092\u6271\u3046\u3068\u304d\u306f\u57fa\u5e95\u306e\u914d\u5217\u3092\u610f\u8b58\u3057\u3066\u304a\u304f\u306e\u304c\u5927\u4e8b\uff08\u5ca9\u7530\u30d7\u30ed\uff09<\/p>\n<h3>\u524d\u56de\u306e\u88dc\u8db3<\/h3>\n<p>P97\u300c\u9ad8\u5ea6\u306b\u6700\u9069\u5316\u3055\u308c\u305fbytes.Equal\u95a2\u6570\u300d\u306b\u3064\u3044\u3066\u3001\u73fe\u5728\u306fString\u306b\u5909\u63db\u3067\u3084\u3063\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3002<\/p>\n<h3>4.4\u69cb\u9020\u4f53<\/h3>\n<ul>\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u9806\u5e8f\u304c\u7570\u306a\u308b\u69cb\u9020\u4f53\u540c\u58eb\u306f\u9055\u3046\u578b\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u308b\u3002<\/li>\n<li>\u540d\u524d\u4ed8\u304d\u69cb\u9020\u4f53S\u306f\u3001\u540c\u3058\u578b\u306e\u30d5\u30a3\u30fc\u30eb\u30c9S\u3092\u5ba3\u8a00\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002<\/li>\n<li>S\u306f\u30dd\u30a4\u30f3\u30bf\u578b\u306e*S\u3092\u5ba3\u8a00\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-\"><code>type tree struct { \/\/ tree\u3068\u3046\u540d\u524d\u306e\u69cb\u9020\u4f53\n  value int\n  left, right *tree \/\/ \u69cb\u9020\u4f53\u3068\u540c\u3058\u540d\u524d\u306e\u30dd\u30a4\u30f3\u30bftree\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u91cd\u8981<\/p>\n<ul>\n<li>\u69cb\u9020\u4f53\u306e\u30bc\u30ed\u5024\u306f\u3001\u305d\u308c\u305e\u308c\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30bc\u30ed\u5024\u3067\u69cb\u6210\u3055\u308c\u308b\u3002<\/li>\n<li>\u5b9f\u7528\u7684\u306b\u306a\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<\/li>\n<\/ul>\n<h3>4.4.1 \u69cb\u9020\u4f53\u30ea\u30c6\u30e9\u30eb<\/h3>\n<p>\u2193 p \u306b Point{1, 2} \u3092\u30b3\u30d4\u30fc\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plane\"><code>type Point struct { X, Y int }\np := Point{1, 2}<\/code><\/pre><\/div>\n\n\n\n<p>\u2193 \u3075\u3064\u3046\u3001\u30ea\u30c6\u30e9\u30eb\u306e\u30a2\u30c9\u30ec\u30b9\u306a\u3093\u3066\u3068\u308c\u306a\u3044\u3051\u3069\u3001\u3053\u3093\u306a\u66f8\u304d\u65b9\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plane\"><code>pp := &Point{1, 2} \/\/ \u95a2\u6570\u547c\u3073\u51fa\u3057\u306a\u3069\u306e\u5f0f\u5185\u3067\u4f7f\u3048\u308b\u3002<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u969b\u306b\u306f\u2193\u3053\u308c\u3068\u540c\u3058\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plane\"><code>pp := new(Point)\n*pp = Point{1, 2}<\/code><\/pre><\/div>\n\n\n\n<h3>4.4.3 \u69cb\u9020\u4f53\u57cb\u3081\u8fbc\u307f\u3068\u7121\u540d\u30d5\u30a3\u30fc\u30eb\u30c9<\/h3>\n<ul>\n<li>\u7d99\u627f\u3068\u306f\u9055\u3046\u3002<\/li>\n<li>\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u306f\u3001Go\u306b\u304a\u3051\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3002<\/li>\n<li><del>Java\u306b\u306f\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u304c\u306a\u3044\u3002<\/del><\/li>\n<\/ul>\n<p>\u5ca9\u7530\u30d7\u30ed<span>@qt_luigi\u00a0<\/span>\u306b\u3054\u6307\u6458\u3044\u305f\u3060\u304d\u307e\u3057\u305f\uff08\u3042\u308a\u304c\u305f\u3044&#x1f64f;\uff09<\/p>\n<p>\u2192Java\u306b\u3082\u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u306f\u3042\u308b\u304c\u3001Go\u3068\u306f\u30cb\u30e5\u30a2\u30f3\u30b9\u304c\u7570\u306a\u308b\u3002<\/p>\n<ul>\n<li><span>Java&#8230;\u30af\u30e9\u30b9\u304c\u4ed6\u306e\u30af\u30e9\u30b9\u3092\u6301\u3064\u611f\u3058\u3002<\/span><\/li>\n<li><span>Go&#8230;\u57cb\u3081\u8fbc\u307f\u306f\u69cb\u9020\u4f53\u304c\u4ed6\u306e\u69cb\u9020\u4f53\u306e\u6027\u8cea\u3092\u542b\u3080<\/span><span>\u611f\u3058\u3002<\/span><\/li>\n<\/ul>\n<h2>4.5 JSON<\/h2>\n<h3>ASN.1<\/h3>\n<ul>\n<li>JSON\u3068\u304bXML\u307f\u305f\u3044\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u7a2e\u985e\u3002<\/li>\n<li>\u592a\u53e4\u306e\u6614\u304b\u3089\u3042\u308b\u3002<\/li>\n<li>\u8a8d\u8a3c\u5c40\u304c\u4f7f\u3063\u3066\u3044\u308b\u3002<\/li>\n<\/ul>\n<h3>JSON<\/h3>\n<ul>\n<li>encoding\/json\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3046\u3002<\/li>\n<li>Unicode<\/li>\n<li>\u6570\u5024\u3001boolean\u3001\u6587\u5b57\u5217\u3002<\/li>\n<li>JSON\u30bf\u30b0\u3001\u5024\u304c0\u3060\u3068\u51fa\u529b\u3057\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>P121\u306eJSON\u4f8b\u306f\u3001\u30b8\u30e7\u30fc\u30af\u3089\u3057\u3044\u3002\u7d22\u5f15P428\u306b\u3001P121\u306b\u30ed\u30d6\u30fb\u30d1\u30a4\u30af\u304c\u51fa\u3066\u304f\u308b\u3063\u3066\u3042\u308b\u306e\u306b\u3001<del>\u5b9f\u969b\u306b\u306f\u66f8\u304b\u308c\u3066\u3044\u306a\u3044<\/del>\u3002\u30cd\u30bf\u3068\u4ed5\u8fbc\u307e\u308c\u3066\u3044\u308b\uff08\u5ca9\u7530\u30d7\u30ed&#x1f64f;\uff09<\/p>\n<ul>\n<li>Go\u2192JSON\u5909\u63db\u306e\u3053\u3068\u3092\u30de\u30fc\u30b7\u30e3\u30ea\u30f3\u30b0\u3068\u3044\u3046\u3002<\/li>\n<li>json.Marshal\u3067\u304a\u3053\u306a\u3046\u3002<\/li>\n<li>\u8aad\u307f\u3084\u3059\u304f\u3059\u308b\u306b\u306f\u3001json.MarshalIndent\u3092\u4f7f\u3046\u3002<\/li>\n<li>\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u3060\u3051\u304c\u30de\u30fc\u30b7\u30e3\u30ea\u30f3\u30b0\u3055\u308c\u308b\u3002<\/li>\n<li>\u30de\u30fc\u30b7\u30e3\u30ea\u30f3\u30b0\u306e\u9006\u306f\u30a2\u30f3\u30de\u30fc\u30b7\u30e3\u30ea\u30f3\u30b0\u3002<\/li>\n<li>json.Unmarshal\u3092\u4f7f\u3046\u3002<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plane\"><code>Year int `json:&quot;released&quot;` \/\/ Year\u30d5\u30a3\u30fc\u30eb\u30c9\u304crelesed\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u308b\u3002<\/code><\/pre><\/div>\n\n\n\n<h2>4.6 \u30c6\u30ad\u30b9\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/h2>\n<ul>\n<li>{{range .Item}}\u3068{{end}}\u306f\u30eb\u30fc\u30d7\u3002<\/li>\n<li>{{range .Item}}\u3068{{end}}\u5185\u306b\u3042\u308bPrintf\u306f\u3001Sprintf\u306e\u30b7\u30ce\u30cb\u30e0\u3002<\/li>\n<\/ul>\n<p>\u30b7\u30ce\u30cb\u30e0&#8230;\u3075\u3068\u3001Oracle\u306b\u3067\u3066\u304f\u308b\u30b7\u30ce\u30cb\u30e0\u3068\u3001PostgreSQL\u3068\u304b\u74b0\u5883\u5909\u6570\u3067\u51fa\u3066\u304f\u308b\u30a8\u30a4\u30ea\u30a2\u30b9\u3068\u306f\u3069\u3046\u9055\u3046\u3093\u3060\u308d\u301c\u3068\u601d\u3063\u3066\u8abf\u3079\u305f\u306e\u3067\u3059\u304c\u3001DB\u306b\u9650\u3063\u3066\u306f<\/p>\n<ul>\n<li>\u30b7\u30ce\u30cb\u30e0&#8230;\u6c38\u7d9a\u7684\u306a\u5225\u540d<\/li>\n<li>\u30a8\u30a4\u30ea\u30a2\u30b9&#8230;\u4e00\u6642\u7684\u306a\u5225\u540d<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u611f\u3058\u3089\u3057\u3044\u3067\u3059\u3002<\/p>\n<h2>\u7b2c\uff15\u7ae0 \u95a2\u6570<\/h2>\n<h3>5.2 \u518d\u5e30<\/h3>\n<ul>\n<li>\u81ea\u5206\u81ea\u8eab\u3092\u76f4\u63a5\u547c\u3073\u51fa\u305b\u308b\u3002<\/li>\n<li>\u81ea\u5206\u81ea\u8eab\u3092\u9593\u63a5\u7684\u306b\u547c\u3073\u51fa\u305b\u308b\u3002<\/li>\n<li>\u304a\u304a\u304f\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306f\u3001\u95a2\u6570\u547c\u3073\u51fa\u3057\u306b\u56fa\u5b9a\u9577\u306e\u30b9\u30bf\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3002<\/li>\n<li>\u56fa\u5b9a\u9577\u30b9\u30bf\u30c3\u30af\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u304c\u9ad8\u3044\u3002\uff08<span>@micchiebear\u3055\u3093\u30e1\u30e2\u304b\u3089\u62dd\u501f\uff09<\/span><\/li>\n<\/ul>\n<p>\u2193\u7528\u610f\u3055\u308c\u305f\u9818\u57df\u304b\u3089\u306f\u307f\u51fa\u308b\u306e\u4f8b\u3002<\/p>\n<p><a href=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc.png\"><img decoding=\"async\" width=\"399\" height=\"265\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc.png\" alt=\"\u30b9\u30bf\u30c3\u30af\" class=\"alignnone  wp-image-5106\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc.png 1204w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc-300x199.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc-1024x680.png 1024w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2020\/10\/java-etc-768x510.png 768w\" sizes=\"(max-width: 399px) 100vw, 399px\" \/><\/a><\/p>\n<ul>\n<li>Java\u306f\u4eee\u60f3\u7a7a\u9593\u306b2MB\u4f5c\u308b\u306e\u3067\u3001\u305f\u304f\u3055\u3093\u30b9\u30ec\u30c3\u30c9\u3092\u4f5c\u308c\u306a\u3044\u3002\n<ul>\n<li>C\u3084Java\u3067\u306f\u9818\u57df\u306e\u4e0a\u9650\u304c\u304d\u307e\u3063\u3066\u3044\u308b\uff08\u5ca9\u7530\u30d7\u30ed\uff09<\/li>\n<\/ul>\n<\/li>\n<li>Go\u306f\u3001\u95a2\u6570\u547c\u3073\u51fa\u3057\u306b\u53ef\u5909\u9577\u306e\u30b9\u30bf\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3002<\/li>\n<li>Go\u306f2KB\u304b\u3089\u306f\u3058\u307e\u308b\u3002<\/li>\n<li>\uff08\u6614\u306e\uff09C\u3060\u3068\u30b9\u30bf\u30c3\u30af\u306f\u4e00\u65b9\u5411\u306b<del>\u3057\u304b\u306e\u3073\u306a\u3044<\/del>\u3002\u306e\u3073\u308b\u3002\n<ul>\n<li>\u2192\u4e00\u65b9\u5411\u306b\u30c7\u30fc\u30bf\u3092\u7a4d\u307f\u51fa\u3057\u3059\u308b\u69cb\u9020\u3002\uff08\u5ca9\u7530\u30d7\u30ed\uff09<\/li>\n<\/ul>\n<\/li>\n<li>\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3060\u3068\uff1f\uff08\u805e\u304d\u9003\u3057\u305f\u3002Gopher\u9053\u5834\u3067\u8aac\u660e\u304c\u3042\u3063\u305f\u3088\u3046\u306a\u3002\u3042\u3068\u3067\u898b\u8fd4\u3059\uff09\n<ul>\n<li>Go\u306f\uff12KB\u304b\u3089\u53ef\u5909\u3067\u4e0a\u9650\u3092\u306e\u3070\u3059\u305f\u3081\u3001\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3092\u305f\u304f\u3055\u3093\u4f5c\u6210\uff06\u5b9f\u884c\u3067\u304d\u308b\u3002\uff08\u5ca9\u7530\u30d7\u30ed\uff09<span><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>5.4 \u30a8\u30e9\u30fc<\/h2>\n<h3>5.4.1 \u30a8\u30e9\u30fc\u51e6\u7406\u6226\u7565<\/h3>\n<ul>\n<li>fmt.Errorf(&#8220;hoge %v) \u2190 %w \u63a8\u3057\uff081.13\u304b\u3089\u3002\u5ca9\u7530\u30d7\u30ed\uff09<\/li>\n<li>\u30a8\u30e9\u30fc\u306f\u983b\u7e41\u306b\u9023\u9396\u3059\u308b\u304b\u3089\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5927\u6587\u5b57\u306b\u3057\u306a\u3044\u3002<\/li>\n<li>\u6539\u884c\u306f\u907f\u3051\u308b\u3002<\/li>\n<li>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8a73\u7d30\u306b\u3059\u308b\u3002<\/li>\n<li>\u554f\u984c\u306b\u5bfe\u3057\u3066\u610f\u5473\u304c\u5206\u304b\u308b\u8aac\u660e\u306b\u3059\u308b\u3002<\/li>\n<li>\u540c\u3058\u95a2\u6570\u3001\u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u95a2\u6570\u7fa4\u304b\u3089\u4ecb\u3055\u308c\u308b\u30a8\u30e9\u30fc\u306f\u540c\u3058\u5f62\u5f0f\u306b\u3057\u3001\u540c\u3058\u69d8\u306b\u6271\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u4e00\u8cab\u6027\u3092\u3082\u305f\u305b\u308b\u3002<\/li>\n<li>\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u6271\u3046\u5834\u5408\u306f\u2191\u3053\u306e\u9650\u308a\u3067\u306f\u306a\u3044\u304b\u3082\u3002<\/li>\n<\/ul>\n<p>\u3069\u306e\u8a00\u8a9e\u3067\u3082\u540c\u3058\u3060\u306a\u301c\u3002<\/p>\n\n\n\n<h2>\u8cea\u554f\uff06\u96d1\u8ac7\u30bf\u30a4\u30e0<\/h2>\n<p>\u8aad\u66f8\u4f1a\u5f8c\u306f\u67f4\u7530\u6c0f\u3068\u5ca9\u7530\u30d7\u30ed\u304c\u300c\u69cb\u9020\u4f53\u306e\u57cb\u3081\u8fbc\u307f\u300d\u306b\u3064\u3044\u3066\u8a71\u3057\u3066\u3044\u3066\u3001\u3075\u3080\u3075\u3080..\u5168\u7136\u308f\u304b\u3089\u3093\u3001\u3068\u805e\u3044\u3066\u304a\u308a\u307e\u3057\u305f\u304c<\/p>\n<ul>\n<li>Java\u3060\u3068\u7d99\u627f\u306e\u306a\u304b\u306b\u5165\u308c\u305f\u308a\u3067\u304d\u308b\u3002<\/li>\n<li>Go\u306e\u57cb\u3081\u8fbc\u307f\u3063\u3066\u7d99\u627f\u3068\u306f\u9055\u3046\u3088\u306d\u3002<\/li>\n<li>Go\u3067\u57cb\u3081\u8fbc\u307f\u3067\u304d\u308b\u3051\u3069\u3001\u305d\u3093\u306a\u5b9f\u88c5\u3092\u3057\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3092\u307f\u305f\u3053\u3068\u306a\u3044\u3002<\/li>\n<li>\u8a2d\u8a08\u4f8b\u304c\u77e5\u308a\u305f\u3044\u3088\u306d\u30fc\u3002<\/li>\n<\/ul>\n<p>\u7684\u306a\u611f\u3058\u306a\u5185\u5bb9\u3067\u3057\u305f\u3002\u79c1\u3055\u3093\u306f\u4f55\u3057\u3066\u308b\u4eba\u306a\u306e\uff1f\u3069\u3093\u306a\u8a00\u8a9e\u3068\u304b\u3084\u3063\u3066\u306e\uff1f\u7684\u306a\u611f\u3058\u3067\u3075\u3063\u3066\u3044\u305f\u3060\u304d\u3001\u5927\u3057\u305f\u3053\u3068\u3057\u3066\u306a\u3044\u3051\u3069C\u6642\u4ee3\u306e\u8a71\u3068\u304b\u3001\u30aa\u30d5\u30b7\u30e7\u30a2\u306e\u8a71\u3068\u304b\u3001\u4eba\u6d77\u6226\u8853\u3067\u3084\u3063\u3066\u308b\u753b\u9762\u7cfb\u306e\u30c6\u30b9\u30c8\u306e\u8a71\u3068\u304b\u3001\u73fe\u5728\u3046\u3061\u306e\u793e\u5185\u3067\u62b1\u3048\u3066\u3044\u308b\u554f\u984c\u306b\u3064\u3044\u3066\u8a71\u3057\u305f\u308a\u3057\u307e\u3057\u305f\u3002\u3067\u67f4\u7530\u3055\u3093\u306e\u30cf\u30fc\u30c9\u6642\u4ee3\u306e\u30aa\u30d5\u30b7\u30e7\u30a2\u306e\u8a71\u3068\u304b\u8907\u5199\u6a5f\u306e\u30c6\u30b9\u30c8\u306e\u8a71\u3068\u304b\u3001\u73fe\u8077\u3067\u306eWeb\u30fb\u30e2\u30d0\u30a4\u30eb\u3067\u306e\u30c6\u30b9\u30c8\u306e\u3053\u3068\u3068\u304b\u304a\u805e\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u8ee2\u8077\u8a71\u3068\u304b\u3082\u805e\u3051\u3066\u304a\u3082\u3057\u308d\u304b\u3063\u305f\u3002<\/p>\n<p>\u3067\u3001E2E\u30c6\u30b9\u30c8\u3092\u5c0e\u5165\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3001\u3068\u3044\u3046\u8a71\u3092\u3057\u305f\u3068\u3053\u308d\u3001\u4ed6\u306e\u53c2\u52a0\u8005\u306e\u65b9\u306b\u300c\u3055\u3044\u3077\u308c\u3059\u300d<\/p>\n<p><a href=\"https:\/\/www.cypress.io\/\">https:\/\/www.cypress.io\/<\/a><\/p>\n<p>\u3068\u3044\u3046\u306e\u3092\u6559\u3048\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u8077\u5834\u3067QA\u3092\u3084\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u8abf\u3079\u308b\u3002\u6765\u9031\u306e\u8ab2\u984c\u304c\u5897\u3048\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3068\u3053\u308c\u300c\u307e\u30fc\u3076\u308b\u300d<\/p>\n<p><a href=\"https:\/\/www.mabl.com\/\">https:\/\/www.mabl.com\/<\/a><\/p>\n<p>\u3053\u3063\u3061\u306f\u3001\u5148\u65e5\u53d7\u3051\u305f\u30ab\u30b8\u30e5\u9762\u3067\u67d0Web\u4f01\u696d\u3055\u3093\u304b\u3089\u6559\u3048\u3066\u3082\u3089\u3044\u307e\u3057\u305f\u3002\u3084\u3055\u3057\u3044\u3002\u805e\u3044\u3066\u307f\u308b\u3082\u306e\u3060\u306a\u301c\u3002<\/p>\n<h2>\u3055\u3044\u3054\u306b<\/h2>\n<p>JSON\u3068\u304b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u3068\u3053\u308d\u3067\u3001\u30d0\u30c3\u30af\u30af\u30aa\u30fc\u30c8\u3063\u3066\u306a\u3093\u3067\u4f7f\u3046\u306e\uff1f\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u3058\u3083\u3060\u3081\u306a\u3093\uff1f\u3068\u601d\u3063\u3066\u3001P74\u3092\u307f\u304b\u3048\u3057\u307e\u3057\u305f\u3002\u305f\u3076\u3093&lt;pre&gt;\u307f\u305f\u3044\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u826f\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u7406\u89e3\u3057\u305f\u3002tenntenn\u3055\u3093\u306e\u8cc7\u6599\u306b\u3082\u306e\u3063\u3066\u305f\u3088\u3046\u306a.. \uff08\u307e\u305f\u304a\u3055\u3089\u3044\u3057\u306a\u3044\u3068\uff09<\/p>\n<p>\u3068\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u3082\u6fc3\u3086\u301c\u3044\u5185\u5bb9\u3067\u3068\u3066\u3082\u826f\u304b\u3063\u305f\u306e\u3067\u3057\u305f&#x2728;<\/p>\n<p>\u307e\u305f\u6b21\u56de\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6280\u8853\u66f8\u5178\uff19\u306b\u53c2\u52a0\u3057\u307e\u3057\u305f\u3002\u81ea\u5206\u304c\u62c5\u5f53\u3057\u305f\u7ae0\u306f\u8d85\u7d76\u304a\u307e\u3051\u30ec\u30d9\u30eb\u3067\u7d39\u4ecb\u3059\u308b\u306e\u304c\u6065\u305a\u304b\u3057\u3044\u304f\u3089\u3044\u306a\u306e\u3067\u3059\u304c\u3001\u4ed6\u306e\u7ae0\u304c \u3068\u3066\u3082 \u3068\u3066\u3082 \u3068\u301c\u3063\u3066\u3082\u30aa\u30b9\u30b9\u30e1\u306a\u306e\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002Go\u306e\u57fa\u672c\u6587\u6cd5\u304c\u7d42\u308f\u3063\u3066\u8131\u30d3\u30ae\u30ca\u30fc\u3057 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":4842,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[],"class_list":["post-5080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-golang"],"_links":{"self":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/5080"}],"collection":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5080"}],"version-history":[{"count":37,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/5080\/revisions"}],"predecessor-version":[{"id":5124,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/5080\/revisions\/5124"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/media\/4842"}],"wp:attachment":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}