{"id":21060,"date":"2025-10-27T03:08:46","date_gmt":"2025-10-27T03:08:46","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=21060"},"modified":"2025-10-27T03:08:46","modified_gmt":"2025-10-27T03:08:46","slug":"db-%e3%81%b8%e3%81%ae%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%82%92%e4%bc%b4%e3%81%86%e5%8d%98%e4%bd%93%e3%83%86%e3%82%b9%e3%83%88%e3%81%ae%e8%80%83%e3%81%88%e6%96%b9%e3%81%a8-go-%e3%81%ab%e3%82%88","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/21060\/","title":{"rendered":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 &#8211; Cybozu Inside Out"},"content":{"rendered":"\n<\/p>\n<div>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<a target=\"_blank\" href=\"https:\/\/cybozu.github.io\/summer-blog-fes-2025\/\">CYBOZU SUMMER BLOG FES &#8217;25<\/a>\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30a6\u30c9\u57fa\u76e4\u672c\u90e8\u306e\u65b0\u4e95\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046 Go \u306e\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u79c1\u305f\u3061\u306e\u8003\u3048\u65b9\u3001\u305d\u3057\u3066\u305d\u308c\u3092\u5b9f\u8df5\u3059\u308b\u305f\u3081\u306b\u958b\u767a\u30fb\u516c\u958b\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"DB-\u306e\u30e2\u30c3\u30af\u3068\u305d\u306e\u554f\u984c\u70b9\">DB \u306e\u30e2\u30c3\u30af\u3068\u305d\u306e\u554f\u984c\u70b9<\/h2>\n<p>DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046 Go \u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3069\u306e\u3088\u3046\u306b\u5358\u4f53\u30c6\u30b9\u30c8\u3057\u305f\u3044\u3068\u304d\u3001\u6700\u521d\u306b\u601d\u3044\u3064\u304f\u306e\u306f <a target=\"_blank\" href=\"https:\/\/github.com\/DATA-DOG\/go-sqlmock\">go-sqlmock<\/a> \u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066 DB \u3092\u30e2\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n<a target=\"_blank\" href=\"https:\/\/github.com\/DATA-DOG\/go-sqlmock?tab=readme-ov-file#tests-with-sqlmock\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a>\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-go\" data-lang=\"go\" data-unlink=\"\"><span class=\"synStatement\">package<\/span> main\n\n<span class=\"synStatement\">import<\/span> (\n    <span class=\"synConstant\">\"fmt\"<\/span>\n    <span class=\"synConstant\">\"testing\"<\/span>\n\n    <span class=\"synConstant\">\"github.com\/DATA-DOG\/go-sqlmock\"<\/span>\n)\n\n\n<span class=\"synStatement\">func<\/span> TestShouldUpdateStats(t *testing.T) {\n    db, mock, err := sqlmock.New()\n    <span class=\"synStatement\">if<\/span> err != <span class=\"synStatement\">nil<\/span> {\n        t.Fatalf(<span class=\"synConstant\">\"an error '%s' was not expected when opening a stub database connection\"<\/span>, err)\n    }\n    <span class=\"synStatement\">defer<\/span> db.Close()\n\n    mock.ExpectBegin()\n    mock.ExpectExec(<span class=\"synConstant\">\"UPDATE products\"<\/span>).WillReturnResult(sqlmock.NewResult(<span class=\"synConstant\">1<\/span>, <span class=\"synConstant\">1<\/span>))\n    mock.ExpectExec(<span class=\"synConstant\">\"INSERT INTO product_viewers\"<\/span>).WithArgs(<span class=\"synConstant\">2<\/span>, <span class=\"synConstant\">3<\/span>).WillReturnResult(sqlmock.NewResult(<span class=\"synConstant\">1<\/span>, <span class=\"synConstant\">1<\/span>))\n    mock.ExpectCommit()\n\n    \n    <span class=\"synStatement\">if<\/span> err = recordStats(db, <span class=\"synConstant\">2<\/span>, <span class=\"synConstant\">3<\/span>); err != <span class=\"synStatement\">nil<\/span> {\n        t.Errorf(<span class=\"synConstant\">\"error was not expected while updating stats: %s\"<\/span>, err)\n    }\n\n    \n    <span class=\"synStatement\">if<\/span> err := mock.ExpectationsWereMet(); err != <span class=\"synStatement\">nil<\/span> {\n        t.Errorf(<span class=\"synConstant\">\"there were unfulfilled expectations: %s\"<\/span>, err)\n    }\n}\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30e2\u30c3\u30af\u306b\u671f\u5f85\u3057\u305f\u30af\u30a8\u30ea\u304c\u767a\u884c\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u304c\u671f\u5f85\u901a\u308a\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30c3\u30af\u3092\u4f7f\u3046\u3068\u30c6\u30b9\u30c8\u306e\u9ad8\u901f\u5316\u304c\u5bb9\u6613\u3067\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u9593\u306e\u4f9d\u5b58\u3082\u7c21\u5358\u306b\u306a\u304f\u305b\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30e2\u30c3\u30af\u306f\u591a\u7528\u3059\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u306a\u305c\u306a\u3089\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3078\u306e\u8010\u6027\u3092\u5931\u3046\u3053\u3068\u3067\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u4fdd\u5b88\u6027\u304c\u4f4e\u4e0b\u3057\u3001\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u3092\u4fdd\u3064\u3053\u3068\u3082\u96e3\u3057\u304f\u306a\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u5148\u307b\u3069\u306e\u4f8b\u3067\u306f\u3001\u30e2\u30c3\u30af\u306b\u5165\u529b\u3057\u305f\u30af\u30a8\u30ea\u304c\u671f\u5f85\u901a\u308a\u304b\u3092\u78ba\u304b\u3081\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3053\u3053\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306e\u305f\u3081\u306b\u30af\u30a8\u30ea\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u305f\u308a\u3001\u53ef\u8aad\u6027\u5411\u4e0a\u306e\u305f\u3081\u306b\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3057\u305f\u3044\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30c3\u30af\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u3067\u306f\u3001\u305f\u3068\u3048\u30c6\u30b9\u30c8\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u306e\u632f\u308b\u821e\u3044\u304c\u540c\u3058\u3067\u3042\u3063\u3066\u3082\u3001\u30af\u30a8\u30ea\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3059\u308b\u305f\u3073\u306b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u305f\u3081\u3001\u4fdd\u5b88\u306b\u624b\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<br \/>\n\u3055\u3089\u306b\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u3067\u306f\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u524d\u3068\u5f8c\u3067\u632f\u308b\u821e\u3044\u304c\u5909\u308f\u3089\u306a\u3044\u3053\u3068\u3092\u30c6\u30b9\u30c8\u3057\u305f\u3044\u306e\u306b\u3001\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3082\u5909\u3048\u3066\u3057\u307e\u3046\u306e\u3067\u306f\u76ee\u7684\u304c\u9054\u6210\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<h2 id=\"\u5b9f-DB-\u3092\u7528\u3044\u305f\u30c6\u30b9\u30c8\">\u5b9f DB \u3092\u7528\u3044\u305f\u30c6\u30b9\u30c8<\/h2>\n<p>\u4e0a\u3067\u8ff0\u3079\u305f\u89b3\u70b9\u304b\u3089\u3001\u5b9f\u969b\u306e DB \u3092\u4f7f\u3063\u3066\u5358\u4f53\u30c6\u30b9\u30c8\u3057\u305f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u8907\u6570\u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304b\u3089\u540c\u3058 DB \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u3001\u30af\u30a8\u30ea\u304c\u7af6\u5408\u3057\u3066\u671f\u5f85\u3057\u305f\u7d50\u679c\u304c\u5f97\u3089\u308c\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u591a\u3044\u3068\u30c6\u30b9\u30c8\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u79c1\u305f\u3061\u306e\u30c1\u30fc\u30e0\u3067\u5b9f\u8df5\u3057\u3066\u3044\u308b\u65b9\u6cd5\">\u79c1\u305f\u3061\u306e\u30c1\u30fc\u30e0\u3067\u5b9f\u8df5\u3057\u3066\u3044\u308b\u65b9\u6cd5<\/h2>\n<p>\u5b9f\u969b\u306e DB \u3092\u4f7f\u3044\u3064\u3064\u4e26\u884c\u3057\u3066\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3054\u3068\u306b\u30b9\u30ad\u30fc\u30de\u3092\u5206\u3051\u308b\u65b9\u6cd5\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059 <a target=\"_blank\" href=\"#f-18e8ebfd\" id=\"fn-18e8ebfd\" name=\"fn-18e8ebfd\" title=\"\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u3082\u540c\u69d8\u306e\u65b9\u6cd5\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\">*1<\/a>\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ed6\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3001mysqltest \u3068\u3044\u3046\u540d\u524d\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u516c\u958b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f <code>SetupDatabase<\/code> \u3068\u3044\u3046\u95a2\u6570\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u4e26\u884c\u3057\u3066\u5b9f\u884c\u3059\u308b\u30c6\u30b9\u30c8\u306e\u305f\u3081\u306e DB \u304c\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fgithub.com%2Fcybozu-go%2Fmysqltest\" title=\"GitHub - cybozu-go\/mysqltest: A Go library for creating isolated MySQL test databases with automatic cleanup.\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/github.com\/cybozu-go\/mysqltest\">github.com<\/a><\/cite><\/p>\n<h3 id=\"\u4f7f\u3044\u65b9\">\u4f7f\u3044\u65b9<\/h3>\n<p><code>mysqltest.SetupDatabase<\/code> \u3092\u3001\u30c6\u30fc\u30d6\u30eb\u30c9\u30ea\u30d6\u30f3\u30c6\u30b9\u30c8\u306e\u5404\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u5b9f\u884c\u3059\u308b\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u547c\u3073\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-go\" data-lang=\"go\" data-unlink=\"\"><span class=\"synStatement\">import<\/span> (\n    <span class=\"synConstant\">\"testing\"<\/span>\n    <span class=\"synConstant\">\"github.com\/cybozu-go\/mysqltest\"<\/span>\n)\n\n<span class=\"synStatement\">func<\/span> TestDB(t *testing.T) {\n    t.Parallel()\n\n    <span class=\"synStatement\">for<\/span> _, tc := <span class=\"synStatement\">range<\/span> testCases {\n        t.Run(tc.name, <span class=\"synType\">func<\/span>(t *testing.T) {\n            t.Parallel()\n<span class=\"synError\">         <\/span>\n            \n            query1 := <span class=\"synConstant\">\"CREATE TABLE ...\"<\/span>\n            query2 := <span class=\"synConstant\">\"INSERT INTO ...\"<\/span>\n\n            conn := mysqltest.SetupDatabase(t,\n                mysqltest.RootUserCredentials(<span class=\"synConstant\">\"root\"<\/span>, <span class=\"synConstant\">\"root\"<\/span>),\n                mysqltest.Verbose(),\n                mysqltest.ModifyConfig(<span class=\"synType\">func<\/span>(c *mysql.Config) {\n                    c.Net = <span class=\"synConstant\">\"tcp\"<\/span>\n                    c.Addr = net.JoinHostPort(<span class=\"synConstant\">\"127.0.0.1\"<\/span>, mysqlPort)\n                    c.MultiStatements = <span class=\"synStatement\">true<\/span>\n                }),\n                mysqltest.Queries(query1, query2),\n            )\n            sut := NewSUT(conn.DB)\n\n            \n            actual := sut.SomeOperation(tc.input)\n\n            \n            <span class=\"synStatement\">if<\/span> actual != tc.expected {\n                t.Errorf(<span class=\"synConstant\">\"expected %v, got %v\"<\/span>, tc.expected, actual)\n            }\n        })\n    }\n}\n<\/pre>\n<p><code>mysqltest.SetupDatabase<\/code> \u306f\u6b21\u306e\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3<\/li>\n<li>\u30e9\u30f3\u30c0\u30e0\u306a\u540d\u524d\u306e\u30e6\u30fc\u30b6\u3068\u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u6210<\/li>\n<li>\u305d\u306e\u30e6\u30fc\u30b6\u3068\u30b9\u30ad\u30fc\u30de\u3067\u518d\u63a5\u7d9a<\/li>\n<li><code>mysqltest.Queries<\/code> \u3067\u6307\u5b9a\u3057\u305f\u30af\u30a8\u30ea\u3092\u5b9f\u884c<\/li>\n<li>DB \u3078\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u8fd4\u5374<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u8fd4\u3063\u3066\u304d\u305f\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u306b\u6e21\u3059\u3053\u3068\u3067 DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u4e26\u884c\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30c6\u30b9\u30c8\u304c\u7d42\u308f\u3063\u305f\u3089\u4f5c\u3089\u308c\u305f\u30e6\u30fc\u30b6\u3068\u30b9\u30ad\u30fc\u30de\u306f\u81ea\u52d5\u3067\u524a\u9664\u3055\u308c\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u5074\u3067\u660e\u793a\u7684\u306b\u524a\u9664\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\uff08\u8a2d\u5b9a\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3082\u3067\u304d\u307e\u3059\uff09\u3002<\/p>\n<h2 id=\"\u30c6\u30b9\u30c8\u306b\u304b\u304b\u308b\u6642\u9593\u306e\u8a08\u6e2c\">\u30c6\u30b9\u30c8\u306b\u304b\u304b\u308b\u6642\u9593\u306e\u8a08\u6e2c<\/h2>\n<p>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3054\u3068\u306b\u30b9\u30ad\u30fc\u30de\u3092\u5206\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u4e26\u884c\u3057\u3066\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3055\u3066\u3001\u3053\u306e\u65b9\u6cd5\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u30c6\u30b9\u30c8\u306e\u6240\u8981\u6642\u9593\u306f\u77ed\u7e2e\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u5b9f\u969b\u306b\u8a08\u6e2c\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a08\u6e2c\u3057\u305f\u74b0\u5883\u304a\u3088\u3073\u30c6\u30b9\u30c8\u306e\u898f\u6a21\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u5b9f\u884c\u74b0\u5883\uff1a\u4eee\u60f3\u30de\u30b7\u30f3<\/li>\n<li>CPU\uff1a8\u30b3\u30a2<\/li>\n<li>\u30e1\u30e2\u30ea\uff1a16GB<\/li>\n<li>OS\uff1aUbuntu 22.04<\/li>\n<li>Go\uff1a1.25.2<\/li>\n<li>\u30c6\u30b9\u30c8\u306e\u4e26\u5217\u6570\uff1a16<\/li>\n<li>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u6570\uff1a\u7d04 900<\/li>\n<li><code>SetupDatabase<\/code> \u306e\u5b9f\u884c\u56de\u6570\uff1a309 \u56de<\/li>\n<li>\u5185\u90e8\u3067\u4f5c\u6210\u3057\u3066\u3044\u308b\u30c6\u30fc\u30d6\u30eb\u6570\uff1a15<\/li>\n<\/ul>\n<p>\u8a08\u6e2c\u7d50\u679c\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n\u4e26\u5217\u5316\u306b\u3088\u308b\u5f71\u97ff\u3092\u8abf\u3079\u308b\u305f\u3081\u3001<code>t.Parallel()<\/code> \u3092\u547c\u3093\u3060\u5834\u5408\u3068\u547c\u3070\u306a\u3044\u5834\u5408\u306e\u4e21\u65b9\u3067\u8a08\u6e2c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"s_table\"><table>\n<thead>\n<tr>\n<th>                             <\/th>\n<th> \u5b9f\u884c\u6642\u9593\uff08real\uff09 <\/th>\n<th> \u5b9f\u884c\u6642\u9593\uff08user\uff09 <\/th>\n<th> \u5b9f\u884c\u6642\u9593\uff08sys\uff09 <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <code>t.Parallel()<\/code> \u3092\u547c\u3093\u3060\u5834\u5408   <\/td>\n<td> 18\u79d2             <\/td>\n<td> 25\u79d2             <\/td>\n<td> 5\u79d2             <\/td>\n<\/tr>\n<tr>\n<td> <code>t.Parallel()<\/code> \u3092\u547c\u3070\u306a\u3044\u5834\u5408 <\/td>\n<td> 1\u520627\u79d2          <\/td>\n<td> 25\u79d2             <\/td>\n<td> 5\u79d2             <\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>\u3053\u306e\u7d50\u679c\u304b\u3089\u3001<code>t.Parallel()<\/code> \u3092\u547c\u3093\u3067\u30c6\u30b9\u30c8\u3092\u4e26\u884c\u5b9f\u884c\u3057\u305f\u6642\u306e\u30c6\u30b9\u30c8\u306b\u304b\u304b\u308b\u6642\u9593\u306f18\u79d2\u3068\u306a\u308a\u3001\u5b9f\u7528\u7684\u306a\u6642\u9593\u3067\u30c6\u30b9\u30c8\u304c\u5b8c\u4e86\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001<code>t.Parallel()<\/code> \u3092\u547c\u3070\u306a\u3044\u5834\u5408\uff08\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u306e\u5834\u5408\uff09\u306b\u6bd4\u3079\u3066\u7d045\u500d\u9ad8\u901f\u5316\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u3053\u306e\u65b9\u6cd5\u304c\u9069\u3055\u306a\u3044\u72b6\u6cc1\">\u3053\u306e\u65b9\u6cd5\u304c\u9069\u3055\u306a\u3044\u72b6\u6cc1<\/h2>\n<p>\u30c6\u30fc\u30d6\u30eb\u6570\u304c15\u7a0b\u5ea6\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308c\u3070\u3053\u306e\u65b9\u6cd5\u306f\u6a5f\u80fd\u3057\u307e\u3059\u304c\u3001\u30c6\u30fc\u30d6\u30eb\u6570\u304c\u975e\u5e38\u306b\u591a\u3044\u30b5\u30fc\u30d3\u30b9\u3084\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u305f\u3081\u306b\u591a\u304f\u306e DDL \u3092\u6d41\u3059\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001\u5b9f DB \u3092\u7528\u3044\u305f\u30c6\u30b9\u30c8\u306f\u975e\u5e38\u306b\u4f4e\u901f\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u304a\u3044\u3066\u30c6\u30b9\u30c8\u304c\u77ed\u6642\u9593\u3067\u7d42\u308f\u308b\u3053\u3068\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u306e\u3067\u3001\u3053\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u306f\u30e2\u30c3\u30af\u304c\u9078\u629e\u80a2\u3068\u3057\u3066\u6709\u529b\u306b\u306a\u308a\u3048\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30e2\u30c3\u30af\u306e\u4f7f\u7528\u306b\u969b\u3057\u3066\u306f\u30c6\u30b9\u30c8\u306b\u304b\u304b\u308b\u6642\u9593\u3068\u30b3\u30fc\u30c9\u54c1\u8cea\u30fb\u4fdd\u5b88\u6027\u3068\u306e\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3092\u6ce8\u610f\u6df1\u304f\u5206\u6790\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u6700\u5f8c\u306b\">\u6700\u5f8c\u306b<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Go \u306b\u3088\u308b DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u8010\u6027\u3092\u9ad8\u304f\u4fdd\u3061\u3064\u3064\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u9593\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u6c17\u306b\u305b\u305a\u30c6\u30b9\u30c8\u3092\u4e26\u884c\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u5f8c\u3082\u52b9\u679c\u7684\u306a\u30c6\u30b9\u30c8\u3092\u884c\u3044\u5b89\u5168\u3067\u5b89\u5b9a\u3057\u305f\u30af\u30e9\u30a6\u30c9\u57fa\u76e4\u3092\u63d0\u4f9b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3 id=\"\u53c2\u8003\u6587\u732e\">\u53c2\u8003\u6587\u732e<\/h3>\n<p>\u30e2\u30c3\u30af\u306b\u3064\u3044\u3066\u306e\u8003\u3048\u65b9\u306f\u6b21\u306e\u672c\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fbook.mynavi.jp%2Fec%2Fproducts%2Fdetail%2Fid%3D134252\" title=\"\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\/\u4f7f\u3044\u65b9|\u30de\u30a4\u30ca\u30d3\u30d6\u30c3\u30af\u30b9\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/book.mynavi.jp\/ec\/products\/detail\/id=134252\">book.mynavi.jp<\/a><\/cite><\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&version=v2.3\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u306e\u8a18\u4e8b\u306f\u3001CYBOZU SUMMER BLOG FES &#8217;25\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u30af\u30e9\u30a6\u30c9\u57fa\u76e4\u672c\u90e8\u306e\u65b0\u4e95\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046 Go \u306e\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u79c1\u305f\u3061\u306e\u8003\u3048\u65b9\u3001\u305d\u3057\u3066\u305d\u308c\u3092\u5b9f\u8df5 [&hellip;]","protected":false},"author":1,"featured_media":21061,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-21060","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u306f\u3001CYBOZU SUMMER BLOG FES &#8217;25\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u30af\u30e9\u30a6\u30c9\u57fa\u76e4\u672c\u90e8\u306e\u65b0\u4e95\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046 Go \u306e\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u79c1\u305f\u3061\u306e\u8003\u3048\u65b9\u3001\u305d\u3057\u3066\u305d\u308c\u3092\u5b9f\u8df5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-27T03:08:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1300\" \/>\n\t<meta property=\"og:image:height\" content=\"684\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/21060\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 &#8211; Cybozu Inside Out\",\"datePublished\":\"2025-10-27T03:08:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/21060\\\/\"},\"wordCount\":44,\"image\":{\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/21060\\\/\",\"url\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000\",\"name\":\"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png\",\"datePublished\":\"2025-10-27T03:08:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png\",\"width\":1300,\"height\":684},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.cybozu.io\\\/entry\\\/2025\\\/10\\\/27\\\/113000#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 &#8211; Cybozu Inside Out\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000","og_locale":"ja_JP","og_type":"article","og_title":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3","og_description":"\u3053\u306e\u8a18\u4e8b\u306f\u3001CYBOZU SUMMER BLOG FES &#8217;25\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u30af\u30e9\u30a6\u30c9\u57fa\u76e4\u672c\u90e8\u306e\u65b0\u4e95\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046 Go \u306e\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u79c1\u305f\u3061\u306e\u8003\u3048\u65b9\u3001\u305d\u3057\u3066\u305d\u308c\u3092\u5b9f\u8df5 [&hellip;]","og_url":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-10-27T03:08:46+00:00","og_image":[{"width":1300,"height":684,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/21060\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 &#8211; Cybozu Inside Out","datePublished":"2025-10-27T03:08:46+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/21060\/"},"wordCount":44,"image":{"@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/21060\/","url":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000","name":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 - Cybozu Inside Out - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#primaryimage"},"image":{"@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png","datePublished":"2025-10-27T03:08:46+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fc2Fcybozuinsideout2F202510272F20251027.png","width":1300,"height":684},{"@type":"BreadcrumbList","@id":"https:\/\/blog.cybozu.io\/entry\/2025\/10\/27\/113000#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"DB \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4f34\u3046\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u8003\u3048\u65b9\u3068 Go \u306b\u3088\u308b\u5b9f\u8df5 &#8211; Cybozu Inside Out"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/21060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=21060"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/21060\/revisions"}],"predecessor-version":[{"id":21062,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/21060\/revisions\/21062"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/21061"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=21060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=21060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=21060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}