{"id":50695,"date":"2019-09-26T00:00:00","date_gmt":"2019-09-26T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/"},"modified":"2025-11-14T07:53:58","modified_gmt":"2025-11-14T15:53:58","slug":"golang-client","status":"publish","type":"post","link":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/","title":{"rendered":"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8"},"content":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001<\/p>\n<div style=\"text-align: center;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/TXJVY8Drp3k\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u6628\u5e74\u306e<a href=\"https:\/\/griddb.net\/en\/blog\/getting-started-with-griddbs-golang-client\/\">\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3067\u3001<a href=\"https:\/\/github.com\/griddb\/go_client\">GridDB Go Client<\/a>\u3092\u4f7f\u3063\u3066\u8d77\u52d5\u3057\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u30d7\u30ed\u30bb\u30b9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u306b\u3044\u304f\u3064\u304b\u5909\u66f4\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f5c\u696d\u3092\u958b\u59cb\u3059\u308b\u524d\u306eGo\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u95a2\u3059\u308b\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001GridDB\u306e\u914d\u5217\u30bf\u30a4\u30d7\u306fGo\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u307e\u3060\u4f7f\u7528\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u6c17\u3092\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002 <strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u914d\u5217\u30bf\u30a4\u30d7\u304c\u7d76\u5bfe\u306b\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u4ee3\u308f\u308a\u306bPython\/C\/Java\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>c_client\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p><i>\u3053\u308c\u306f<a href=\"https:\/\/griddb.net\/en\/blog\/nodejs-client\/\">Node.js \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u95a2\u3059\u308b\u30d6\u30ed\u30b0<\/a><\/i>\u304b\u3089\u629c\u7c8b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>GridDB c_client\uff08Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u524d\u63d0\u6761\u4ef6\uff09\u306f\u3001\u6b21\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\uff1a<a href=\"https:\/\/github.com\/griddb\/c_client\">https:\/\/github.com\/griddb\/c_client<\/a> \u3002 c_client\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u524d\u56de\u306e\u30d6\u30ed\u30b0\u6295\u7a3f\u6642\u3088\u308a\u3082\u7c21\u7d20\u5316\u3055\u308c\u3001 \u30bd\u30fc\u30b9\u304b\u3089\u81ea\u5206\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u4fbf\u5229\u306aRPM\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff08<a href=\"https:\/\/github.com\/griddb\/c_client\/releases\">\u30ea\u30ea\u30fc\u30b9\u30da\u30fc\u30b8\u306f\u3053\u3061\u3089<\/a>\u306b\u3042\u308a\u307e\u3059\uff09\u3002 \u6700\u65b0\u306eRPM\u3092<code>wget<\/code>\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ wget \nhttps:\/\/github.com\/griddb\/c_client\/releases\/download\/v4.2.0\/griddb_c_client-4.2.0-1.linux.x86_64.rpm<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001rpm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ sudo rpm -ivh griddb_c_client-4.2.0-1.linux.x86_64.rpm<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067c_client\u304c<code>\/usr\/<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001LD_LIBRARY_PATH\u74b0\u5883\u5909\u6570\u304c\u65b0\u3057\u304f\u4f5c\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3059\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/usr\/griddb_c_client-4.2.0\/lib<\/code><\/pre>\n<\/div>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ export LIBRARY_PATH=$LIBRARY_PATH:\/usr\/griddb_c_client-4.2.0\/lib<\/code><\/pre>\n<\/div>\n<h3>Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u305f\u3081\u3001\u3082\u3046\u5c11\u3057\u4f5c\u696d\u304c\u5fc5\u8981\u3067\u3059\u3002 \u307e\u305a\u306f<a href=\"https:\/\/golang.org\/\">Go\u8a00\u8a9e<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u74b0\u5883\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u305d\u306e\u9593\u3001Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u6b63\u5e38\u306b\u5b9f\u884c\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u304c\u5fc5\u9808\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ export GODEBUG=cgocheck=0<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u7279\u5b9a\u306eC\u30dd\u30a4\u30f3\u30bf\u30fc\u898f\u5247\u306b\u5f93\u3046\u30c7\u30d5\u30a9\u30eb\u30c8\u306eGo\u306e\u52d5\u4f5c\u304c\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306fcgocheck=1\uff09\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<a href=\"https:\/\/golang.org\/cmd\/cgo\/#hdr-Passing_pointers\">https:\/\/golang.org\/cmd\/cgo\/#hdr-Passing_pointers<\/a>\u3000\u3002<\/p>\n<p>\u6b21\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u4f9d\u5b58\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002 \u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b\u5834\u5408\u306f\u3001root\u30e6\u30fc\u30b6\u30fc\u3092\u5207\u308a\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305a\u306fPCRE\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ wget https:\/\/sourceforge.net\/projects\/pcre\/files\/pcre\/8.39\/pcre-8.39.tar.gz\n$ tar xvfz pcre-8.39.tar.gz\n$ cd pcre-8.39\n$ .\/configure\n$ make\n$ make install<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306fSWIG\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ wget https:\/\/prdownloads.sourceforge.net\/swig\/swig-3.0.12.tar.gz\n$ tar xvfz swig-3.0.12.tar.gz\n$ cd swig-3.0.12\n$ .\/configure\n$ make\n$ make install<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092github\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff1a<a href=\"https:\/\/github.com\/griddb\/go_client\/releases\">https:\/\/github.com\/griddb\/go_client\/releases<\/a>\u3000\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ wget \nhttps:\/\/github.com\/griddb\/go_client\/archive\/0.8.1.tar.gz<\/code><\/pre>\n<\/div>\n<p>tar\u3092\u89e3\u51cd\u3057\u3066<code>make<\/code>\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ tar xvzf 0.8.1.tar.gz\n$ cd go_client-0.8.1\n$ make<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u9069\u5207\u306b\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u3001GOPATH\u304cgo\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u6307\u3059\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ export GOPATH=\"${GOPATH}:\/home\/lib\/go_client-0.8.1\"<\/code><\/pre>\n<\/div>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u306b\u8d77\u3053\u308a\u3046\u308b\u554f\u984c<\/h3>\n<h4>Make\u4e2d\u306b\u8d77\u3053\u308a\u3046\u308b\u554f\u984c<\/h4>\n<p>\u3088\u304f\u767a\u751f\u3059\u308b\u554f\u984c\u306e1\u3064\u306f\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<pre>go install github.com\/griddb\/go_client\ncan't load package: package github.com\/griddb\/go_client:\n  cannot find package \"github.com\/griddb\/go_client\"<\/pre>\n<p>\u3053\u308c\u306f\u3001\u74b0\u5883\u304c\u9069\u5207\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002 \u3053\u308c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067<code>make clean<\/code>\u3092\u5b9f\u884c\u3057\u3066\u6700\u521d\u304b\u3089\u958b\u59cb\u3057\u3001CGOCHECK\u304c0\uff08\u7121\u52b9\uff09\u306b\u8a2d\u5b9a\u3055\u308c\u3001LD_LIBRARY_PATH\u304cGridDB C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u306fprereq\/dependency\uff09\u3092\u6307\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30b3\u30fc\u30c9\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u969b\u306b\u8d77\u3053\u308a\u3046\u308b\u554f\u984c<\/h4>\n<p>\u305d\u306e\u4ed6\u306e\u8d77\u3053\u308a\u3046\u308b\u554f\u984c\u3068\u3057\u3066\u306f\u3001Go\u304c\u30ea\u30e2\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\uff08\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u5916\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u3092\u6574\u7406\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u9023\u3057\u3066\u3044\u307e\u3059\u3002 Go\u3067\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u306f<code>go get<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u3055\u308c\u3001<code>yourgopath\/src\/packagerepository\/accountname\/package<\/code>\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u3001Labstack\u304b\u3089echo Web\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306f<code>\/home\/israel\/go\/src\/github.com\/labstack\/echo<\/code>\u306b\u81ea\u52d5\u7684\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002 \u3057\u305f\u304c\u3063\u3066\u3001\u30b3\u30fc\u30c9<code>import \"github.com\/labstack\/echo\"<\/code>\u306b\u30a8\u30b3\u30fcWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u3001Go\u306f\u3053\u308c\u3089\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u3066\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u77e5\u3063\u3066\u3044\u308b\u958b\u767a\u8005\u306f\u3001Go\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30d3\u30eb\u30c9\u3057\u3001\u65e2\u77e5\u306e\u30eb\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u9069\u5207\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092<code>go build<\/code>\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002 \u305d\u3046\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<\/p>\n<pre>can't load package: package github.com\/griddb\/go_client: no Go files in \/home\/israel\/go\/src\/github.com\/griddb\/go_client<\/pre>\n<p>\u3053\u308c\u306f\u7c21\u5358\u306b\u4fee\u6b63\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306eGo\u30d1\u30b9\u3084\u4ed6\u306e\u5834\u6240\uff08\/home\/lib\/\u306a\u3069\uff09\u304b\u3089\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3057\u3001Go\u30d1\u30b9\u306b\u3053\u306e\u65b0\u3057\u3044\u5834\u6240\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ export GOPATH=\"${GOPATH}:\/home\/lib\/go_client-0.8.1<\/code><\/pre>\n<\/div>\n<h2>\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u7279\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3059\u308b\u5909\u66f4\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002Go\u30b3\u30fc\u30c9\u306b\u95a2\u3057\u3066\u306f<a href=\"https:\/\/griddb.net\/en\/blog\/getting-started-with-griddbs-golang-client\/\">\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go Client\u3092\u4f7f\u3063\u3066\u8d77\u52d5\u3057\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u30d7\u30ed\u30bb\u30b9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u306b\u3044\u304f\u3064\u304b\u5909\u66f4\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u306e\u30d6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49057,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/golang-client\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/golang-client\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-26T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:53:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2018\/05\/blog_title_25.png\" \/>\n\t<meta property=\"og:image:width\" content=\"870\" \/>\n\t<meta property=\"og:image:height\" content=\"490\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Israel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Israel\" \/>\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:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/\"},\"author\":{\"name\":\"Israel\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\"},\"headline\":\"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\",\"datePublished\":\"2019-09-26T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:53:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/\"},\"wordCount\":88,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2018\/05\/blog_title_25.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/\",\"name\":\"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2018\/05\/blog_title_25.png\",\"datePublished\":\"2019-09-26T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:53:58+00:00\",\"description\":\"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2018\/05\/blog_title_25.png\",\"contentUrl\":\"\/wp-content\/uploads\/2018\/05\/blog_title_25.png\",\"width\":870,\"height\":490},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\",\"name\":\"Israel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"caption\":\"Israel\"},\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/israel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT","description":"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go","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:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/golang-client\/","og_locale":"ja_JP","og_type":"article","og_title":"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT","og_description":"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/golang-client\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2019-09-26T07:00:00+00:00","article_modified_time":"2025-11-14T15:53:58+00:00","og_image":[{"width":870,"height":490,"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2018\/05\/blog_title_25.png","type":"image\/png"}],"author":"Israel","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"Israel","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/"},"author":{"name":"Israel","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740"},"headline":"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8","datePublished":"2019-09-26T07:00:00+00:00","dateModified":"2025-11-14T15:53:58+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/"},"wordCount":88,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2018\/05\/blog_title_25.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/","name":"Golang\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2018\/05\/blog_title_25.png","datePublished":"2019-09-26T07:00:00+00:00","dateModified":"2025-11-14T15:53:58+00:00","description":"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u5185\u5bb9\u3092\u30d3\u30c7\u30aa\u3067\u8996\u8074\u3059\u308b\u5834\u5408\u306f\u3001 \u306f\u3058\u3081\u306b \u6628\u5e74\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u3001GridDB Go","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/golang-client\/#primaryimage","url":"\/wp-content\/uploads\/2018\/05\/blog_title_25.png","contentUrl":"\/wp-content\/uploads\/2018\/05\/blog_title_25.png","width":870,"height":490},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740","name":"Israel","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","caption":"Israel"},"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/israel\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/comments?post=50695"}],"version-history":[{"count":1,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50695\/revisions"}],"predecessor-version":[{"id":51538,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50695\/revisions\/51538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media\/49057"}],"wp:attachment":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media?parent=50695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/categories?post=50695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/tags?post=50695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}