Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
ãã2å¹´ããããä»äºã§ã¯å¤§ä½ Go ãæ¸ãã¦ãããjmuk ããã Goè¨èªã¯ããªãã¨ããããã¡ããã©ãããè¨èªã ãªãã¨æã£ã¦ãããç°è«ã¯èªããã ã¨æ¸ãã¦ããããã©ãç§ã¯ãã£ã±ã Scala ã Kotlin ãããã好ãã§ãããã¯å¤ãããªããã ä¾ãã°ã³ã¬ã¯ã·ã§ã³ã map ãã¦ããã®ãã¿ãã¨ãç§ã¯ããªãã»ã©ãããã§ã¯ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ æ°ã¯å¤ãããªããã§ãããã¨æããfilter ã ã£ãããã³ã¬ã¯ã·ã§ã³ã®è¦ç´ æ°ã¯å¤ãããã©ãåã ã®è¦ç´ ã¯å¤ãããªãã®ããã¨ãããã¨ããããã㯠Result ã map ãã¦ããããããã§ã¯ã¨ã©ã¼ã®ã»ãã¯è§¦ããªãã®ããã¨ãããã¨ãèªã¿ã¨ã£ã¦ããã ããããæå³ããç´ æ´ãª for ã«ã¼ãã¨ãif err != nil ã ã¨èªã¿ãããªãã¦ãããçé¢ç®ã«åé¢ã追ã£ã¦ããã°ããããã ãã©ãç§ããmap ããããã¨æããªãã for ã«ã¼ããæ¸ãã¦ããã® for ã«
ã¡ã«ã㤠ã¨ãã¹ãã¼ããã¼ã ã®@tenntennã§ããæ¬ç¨¿ã¯ Merpay Tech Openness Month ã®11æ¥ç®ã®è¨äºã§ãã ãããã°ã©ãã³ã°è¨èªGoå®å ¨å ¥éãã®æééå®å ¬éã®ãç¥ããã§ãæ¸ããããã«ãã¡ã«ãã¤ã§ã¯ã社å¤ã®æ¹åãã«Gopheréå ´ã¨ããä½ç³»çã«Goãå¦ã¹ãå ´ãç¡åã§æä¾ãã¦ãã¾ãããGoã®æ®åãç®çã«ããã¾ã§ã«8åéå¬ã100人以ä¸ã®æ¹ã«åå ãã¦ããã ãã¾ããã ã¾ããGopheréå ´ã®åç»ãè³æã¯Gopheréå ´ èªç¿å®¤ã¨ãã¦èª°ã§ãå©ç¨ã§ããããã«ãªã£ã¦ãããç¾æç¹ã§300å以ä¸ã®æ¹ãå©ç¨ããã¦ãã¾ãã Gopheréå ´ã®è³æã®ãã¼ã¹ã«ãªã£ã¦ãããããã°ã©ãã³ã°è¨èªGoå®å ¨å ¥éãã¯ã2020å¹´7æ31æ¥ã¾ã§ã®éå®å ¬éã«ãªã£ã¦ãã¾ããããæ¬æ¥ããå ¬éæéãæ¤å»ããå®å ¨å ¬éãããã¨ã«ãªãã¾ããã ã¾ããæ¬æ¥8æ31æ¥ããå§ã¾ããOnline Summer Int
Docker ã¯ã²ã¨ã¤ã® Linux ã·ã¹ãã ã®ä¸ã§ãè¤æ°ã® Linux ã·ã¹ãã ãåããããã®ã½ããã¦ã§ã¢ã ãã·ã¹ãã ã®åé¢ã«ã¯ Linux Containers (LXC) ãããã¡ã¤ã«ã·ã¹ãã ã¾ããã«ã¯ Advanced multi layered unification filesystem (Aufs) ãã¤ãã£ã¦ããã Docker 㯠Go ã§æ¸ããã¦ãããã½ã¼ã¹ã³ã¼ãã¯å ¨ä½ã§ã ããã15,000è¡ã§ããã®ãã¡ããã 2/3 ãæ¬ä½ã1/3 ããã¹ãã¨ãªã£ã¦ããã % cat **/*.go | wc -l 14976 % cat $(ls **/*.go | grep -vi test.go) | wc -l 9797 % cat $(ls **/*.go | grep -i test.go) | wc -l 5179 % Docker Init, Docker Daemo
çµè«ã¨ãã¦ã¯Goè¨èªã«ã¯ä»¥ä¸ã®ãããªããã¤ãã®é·æããããç¾å®è·¯ç·ã§é常ã«ãã©ã³ã¹ãã¨ããè¨èªã ã¨æãã¾ãã ãããã®é·æã®ããã«å¤±ãããã¡ãªãããå½ç¶ããã¤ãããã¾ãããä¸å®ç¨åº¦ä»¥ä¸ã®è¦æ¨¡ã®ããã¸ã§ã¯ãã§å©ç¨ããè¨èªã®é¸æè¢ã¨ãã¦ã¯ç¾åããããã°ã©ãã³ã°è¨èªã®ä¸ã§ã¯ä¸çªãäºçªç®ã«ããã®ã§ã¯ãªããã¨æãã¾ãã ã³ã³ãã¤ã«ãéã (vs. C++) GCã¨ã¡ã¢ãªå®å ¨æ§ (vs. C++) 妥å½ã§ç¾å®çãªã¬ãã«ã®åå®å ¨æ§ (vs. Python/Ruby) å®è¡æããã©ã¼ãã³ã¹ãè¯ã (vs. Python/Ruby) ç¾å®åé¡ãããç¨åº¦ã®è¦æ¨¡ã¨æéã®ããã¸ã§ã¯ãã«ãªãã¨åæ¤è¨¼ãããã¨ãªãã¡ã¯ã¿ãªã³ã°ãªã©ãã ãã¶æ¥½ã«ãªãã®ã§ãããããã åãããã®ã§èªç¶ã¨å®è¡æããã©ã¼ãã³ã¹ãè¯ã æ¨æºã©ã¤ãã©ãªãæ´åããã¦ãã (vs. C++) ãããæ¨æºã©ã¤ãã©ãªã«jsonã®parserããåå¨ããªãC
GAEï¼Standard Environmentï¼ã§åä½ããWebã¢ããªã±ã¼ã·ã§ã³ãGoã§æ¸ãã¦ããããµã¤ã³ã¢ããããã¦ã¼ã¶ã¼ã®æ å ±ãªã©ãæ°¸ç¶åãããã¨ããå ´åãGAE ã§ç´ ç´ã«ããã¨ãã㨠Datastore ã使ããã¨ã«ãªããæ Java 㧠GAE ã¢ããªã±ã¼ã·ã§ã³ãæ¸ãã¦ããã¨ãã«ã¯ Slim3 ã¨ãããã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦ Datastore ã«å¯¾ããæä½ããããªã£ã¦ããããç¾ä»£ã»Goã§ãã¨ãªãã¨ãããããªãã¨æã£ã¦ããã®ããmercari/datastoreã github.com èªåã®è¨èã§ãã¤ãããã¨ãããã»ã©ãæ¨æºã©ã¤ãã©ãªã§ã® datastore æä½ããã£ã¦ããããã§ã¯ãªããããã®ä»ã®ãªã«ãã¨æ¯ã¹ã¦ã¿ãããã§ããªãã......ã®ã ãã©ãGAEã«å¼·ããããªäººããããªäººãéã¾ãã¡ã«ã«ãªè¬¹è£½ã®ã©ããã¼ãªã大ä¸å¤«ãªãã ãããã¨ãããã¨ã§ããã£ããã¯ããã使ã£ã¦éçºãé²ãã¦
O'Reilly Japan, Inc. æ§ã«ç®æ¬é ãã¾ããããããã¨ããããã¾ãã ããã¦ç®æ¬é ãéã«ã声ãæãã¦é ãããæ¬æ¸ã®ç¿»è¨³ãæ å½ããã ymotongpoo ããã«ãã礼ãç³ãä¸ãã¾ãããããã¨ããããã¾ãã æ¬æ¸ã®è¨³ã¯é常ã«ç´ æ´ããããã¨ã¦ãåæãè±æã§ãã£ãã¨ã¯æããªãã»ã©ç¶ºéºã§ãèªãã§ããä¸ã§ãåæã§ã©ã®æ§ã«è¡¨ç¾ããã¦ãããã ãããã¨ãã£ãå¼ã£ããããç¡ããã¨ã¦ãã¹ã ã¼ãºã«èªã¿é²ãããã¾ããã Go è¨èªã«é¢ãã£ã¦éåã¨é·ããªã£ã¦ãã¾ãããåã㦠Go ãç¥ã£ã¦ããã¦ã¼ã¶ãã©ãã©ãå¢ããæ§ãè¦ãäºãåºæ¥ãã®ã¯æ£ç´ã«è¨ã£ã¦é常ã«å¬ããã§ãã ãµã¨ Go ã®é åã¯ä½ãã¨èããããå¹¾ã¤ãæããäºãåºæ¥ã¾ãããééããªãé¸ã¶ã®ããéåæå¦çã®ç°¡åããã§ããããã¾ã§å¤ãã®éçºè ã OS ã¹ã¬ããã§å®ç¾ãã¦ããéåæå¦çããGo è¨èªã¯å°ãªãã¤ãã£ãªã ã¨ã¤ã³ããªã¸ã§ã³ããªã©ã³ã¿ã¤ã ã
EchoHigh performance, extensible, minimalist Go web framework Optimized RouterEcho boasts a highly optimized HTTP router that operates without dynamic memory allocation. This router intelligently prioritizes routes for efficient routing and processing of incoming HTTP requests. The absence of dynamic memory allocation contributes to better performance and resource utilization. ScalableEcho framewo
ãããã¾ãããï¼ãããããã¾ããããï¼ã¾ããgodocã¨go docã¯åãããã¥ã¡ã³ããã¼ã«ã§ãããå¥ã®ãã¼ã«ã§ããæ¬å®¶ã¨å ç¥ã¿ãããªãã®ã¨ãã¦ãé·ããå¹³è¡ã§æä¾ããã¦ãã¾ãããã¡ããã©ãã®è¨äºãæ¸ãã¦ããå°ãåã«ãªãªã¼ã¹ããã1.11ã§ãgodocã®æ¹ãã¦ã§ãã ãã«ãªãã¨ãªãªã¼ã¹ãã¼ãã«æ¸ããã¾ããã ã¾ããgodoc.orgã®ãµã¼ãã¼ã¯ãã¼ã«ã«ã®godocã³ãã³ããããæ©è½ãå¢ãã¦ãããããã³ãã¬ã¼ããå¾®å¦ã«éã£ãããã¾ããã¨ã¯ãããããã¥ã¡ã³ããæ¸ãã¨ãã¯ãããã®éãã¯ããã¾ã§æ°ã«ãããã¨ã¯ããã¾ããã 2020/09/19追è¨: ç¾å¨ã¯pkg.go.devã稼åãéå§ããgodoc.orgã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ããã¨ãã¡ãã¸ã®ãªãã¤ã¬ã¯ãããããã©ãããåãåãããããã¼ãåºã¾ããå°æ¥çã«ã¯ãã¡ãã«ä¸æ¬åãããã¨æãã¾ããéçºè ãè¡ãã¹ããã¨ãè¨è¿°ãã¹ããã¨ã¯å·®ã¯ããã¾ããããã®ããã¥
åã® Datastore ã®è¨äºã¯ Cloud Datastore/AppEngine Datastore æ代ã®ãã®ãªã®ã§ãç¾å¨ã® Firestore ã® Datastore mode ã ã¨ä¸é¨ã®å 容ãæ£ãããªãã¨æãã®ã§æ³¨æãã¦ãã ããã(´ã»Ïã»`)â pospome (@pospome) March 24, 2021 Datastoreã使ã£ã¦ãã¦ã ããç¨åº¦ã³ãã¨ã注æç¹ã¿ãããªãã®ãåãã£ã¦ããã®ã§ã ã¾ã¨ãã¦ã¿ã¾ããã ç¶ç¶çã«è¿½è¨ãã¦ããäºå®ã§ãã ééã£ã¦ããã¨ãããããã° ã³ã¡ã³ã or twitter ã§æãã¦ãã ããã Datastoreã® entity, kind ãªã©ã®ç¨èªã¯ç解ãã¦ããåæã§ãã ParentKeyã«æ°ãã¤ãã Go ã§ã¯ Filter ã«ãã OR, IN æ¤ç´¢ãã§ããªã æååã«å¯¾ãã LIKE æ¤ç´¢ããªã çµå±ã©ããªã¯ã¨ãªãçºè¡ã§ããã®ã
ã½ã¦ã¾ã¦ç¤¾ã®ç¤¾å åå¼·ä¼Go Friday 第60åç¨ã®è³æã§ãã æ¬æ¥Go Fridayã§ã¯è³æä½ã£ããã¨ãã®äºåæºåã¯ããã§ããããã¨ãããã¨ã«ãªã£ã¦ããã§ããç´ æã§ããããããããããã¨ããææ³ãå¼ãåºããæ°ãããªãã£ãã®ã§ä½ãã¾ããã go.mercari.io/datastoreã®è©±ã§ãã ä»æ¥è©±ãã㨠ãªãæå¼·ãªã®ããããã«ãã¦æå¼·ãªã®ããããããã®æå¼·ã ã»ããçç± è§£æ±ºæ¹æ³ å®è£ æ¹æ³(ããã©ãã®ã§Go Fridayä¸ã§å£é ã§èª¬æ) è¨è¨ä¸ã®å¤æã¨ç§»è¡ã®æ³¨æç¹ ããããå®è£ ããæ©è½ Datastoreã£ã¦ä½ï¼ Googleã®ãã¤ã appengineã¦ã¼ã¶ãªã誰ãããä¸è©±ã«ãªã£ã¦ãã¯ãã ã©ãããã»ããçç± ã¤ãããã¨ã¨ãããã©ããããã¨ã¨ããè²ã ããããã解æ¶ãããã âããããï¼ãªãã°èªåã§ã©ããã¼ãä½ããããªãï¼ ã¤ããã¤ã³ã1
1. ãªã¹ã¹ã¡ã® æ¨æºã»æºæ¨æº ããã±ã¼ã¸20é¸ 2017/06/05ï¼æï¼ Goè¨èªLTå¤§ä¼ The Go gopher was designed by Renee French. The gopher stickers was made by Takuya Ueda. Licensed under the Creative Commons 3.0 Attributions license. 2. èªå·±ç´¹ä» ã¡ã«ã«ãªï¼ã½ã¦ã¾ã¦ ä¸ç°æä¹ twitter: @tenntenn â ã³ãã¥ããã£æ´»å Google Cloud Platform User Group (GCPUG) Tokyo Goãã®ãã¼ãº golang.tokyo Go Conference â æ¥å GAE/Goã§ã¡ã«ã«ãªã«ã¦ã«ãä½ã£ã¦ã¾ã GoãGCPã³ãã¥ããã£ãçãä¸ããä»äº Gopherãæãä»äºï¼LINEã¹ã¿ã³
ã¯ããã« 11ææ«ã«ä½æ ãã¢ããã³ãã«ã¬ã³ãã¼ã®ä¸æ¥ç®ã空ãã¦ããã®ã§æ¥é½ãã®è¨äºãä½æãããã¨ã«ãªãã¾ãããæ¥ãã§æ¸ããã®ã§ä¸åãªã©ããã¾ããããã¿ã¾ããã æ°ããè·å ´ã«è»¢è·å¾ãæ¥åã¨ãã¦ã¯åãã¦Goã§Webã¢ããªã±ã¼ã·ã§ã³ãä½æãã¾ããã ã¹ã¯ã©ããã§æ¸ããã¦ããããã®ã§ã試è¡é¯èª¤ããªããä¸éãçµããã¨ãã§ãã¾ããã ã¾ãçµé¨è±å¯ãªååãããã¢ããã¤ã¹ããã ãããã¨ãããã ããªãGoã®Webã¢ããªã®çµã¿æ¹ã«ã¤ãã¦ç¥è¦ããã¾ãã¾ããã ããã§ãMVCã¢ããªã±ã¼ã·ã§ã³ãçµãä¸ã§ã©ã®ãããªæ§æã«ããããããã«ã¤ãã¦ã ç¹ã«ã³ã³ããã¼ã©å±¤ãä¸å¿ã«èªåã®èããç´¹ä»ãããã¨æãã¾ãã MVCã®è¨è¨ å ã Railsçãæ¸ãã¦ããã®ã§æè¬Webã®MVCï¼Model2ï¼ããã¼ã¹ã«èãã¾ãã View æ¸ããWebã¢ããªã±ã¼ã·ã§ã³ã¯APIãµã¼ãã ã£ãã®ã§ãå®ã¯ãã¾ãããã«ã¤ãã¦åºããç¥è¦ã¯ããã¾ããã
photo by ajstarks ãªããæè¿ã¿ããªæ¸ãã¦ã golang ãOSS ã¸ã®ã³ã³ããªãã¥ã¼ããã£ã³ã¹ãå¢ãã¦ãã¾ãããèªåã§ããªããªæ¸ãã«ã¯æéãèªä¿¡ããªããã§ãããã°ä¿®æ£ããããªããã£ã¦ã¿ããããããããã®ç®çã®ããã«æä½éå¿ è¦ãªç¥èãæ¸ãã¦ã¿ã¾ããã ãã®è¨äºã§ã¯ãèªåã§ã¯ããªããªæ¸ããªãããã©ãgolang ã® OSS ããã¸ã§ã¯ãã«ã¯è²¢ç®ãããã¨ãã人åãã«ãåºæ¥ãã ãã·ã¥ãã¨å¦ã¹ãããã«éè¦ãªãã¤ã³ãã®ã¿çµã£ã¦ç´¹ä»ãã¦ããã¾ãã åå¿è åãã®åªãã解説è¨äºã¨ãã訳ã§ã¯ãªãã®ã§ãèªåã§èª¿ã¹ãããã®ããã«ã±ã¨ãã¦ã®èªã¿æ¹ãæ³å®ãã¦ãã¾ããã¾ããèªåèªèº«ãæ³å®èªè ã®ãããééã£ããã¨ãæ¸ãã¦ããå¯è½æ§ãããã¾ããã¨ããéããæ¸ãã¦ããã¾ãã éçºç°å¢ åºæ¬çã« Mac OSX + HomeBrew + Atom ãåæã¨ãã¾ããã¨ããã¤ã¤ãgolang ã Atom ãã
ããã¾ãããããå 容ã®ãã¨ã çãªãã®ã¯åºã¾ã£ã¦ã»ãããªããªãã»ã»ã¨æãã®ã§ãã£ã¡ã«ã²ã£ããæ¸ããã¨ã«ããã ä»å¹´ã¯åã«ã¨ã£ã¦ã¯Goã®åå¨ãã¨ã¦ã大ããå¹´ã ã£ãã 5å¹´åãåãæ¸ãã®ã¯Webã¢ããªã±ã¼ã·ã§ã³ãä¸å¿ã§ãPHPãã¡ã¤ã³ã§è§¦ã£ã¦ããããããæ°ãã¤ãã°ã¨ã³ã¸ãã¢ãªã³ã°ã®ã¬ã¤ã¤ãåºãã£ããªãã¨ããææããã£ã¦ãããæè¿Goããããå éãã¦ãããã第äºã®è¨èªã¨ãã¦ã®Goã¯ã¨ã¦ãè¯ãã§ãã¦ãã¦ãå°åããè´ãããããã«ã¦ã§ã¢ãã¡ããã£ã¨æ¸ãã«ãå¿å°ããããã£ã±ãæè¿ã®è¨èªãªãã§ã¯ã®è¯ããããããã¨ãã°ã * ãã¹ããæ¨æºã©ã¤ãã©ãªã«çµã¿è¾¼ã¾ãã¦ãã * net/httpãã¨ã¦ãè¯ãã§ãã¦ããããã¬ã¼ã ã¯ã¼ã¯ãå¿ è¦ã¨ããªãå ´é¢ãå¤ãã * concurrencyãå ç¢ã«æ±ããï¼ãã¾ãè¨èãè¦å½ãããªãï¼ * ããã¦ãããªãã«éã ã¨ããã®ãããããããç¹ã«go toolã®å å®ã¯ããããRace
Go è¨èªã§ wc ãå®è£ ãã¦ã¿ã GitHub - takatoshiono/go-wc: Go implementation of wc command for practice ãªãã A Tour of Go ãããçµããæãå ¨ç¶ãã¾ãæ¸ããªããã¨ããã®ãææ³ã ã£ãããã£ã¨ Go è¨èªã®ã³ã¼ããèªã¿æ¸ãããå¿ è¦ãããã ããã¦èªãã ãã ã¨ããæ°ãç¶ããªãããä½ãæ¸ããããä½ãä½ãããï¼ Go è¨èªãªã®ã§ã¹ã¿ã³ãã¢ãã¼ã³ã§èµ·åãããã¤ããªå®è¡å½¢å¼ã®ãã¡ã¤ã«ããããããä»æ§ãç°¡åã§æé ãªãã¤ããããª...ã¨èã㦠wc ã«ããã®ã ã£ããä»ã«ã以ä¸ãåè£ã«ãã£ãã ab smtp server beer ã³ãã³ã(ãªãããã¾ãããªãã¼ã«ã表示ãã) wc ã³ãã³ã find ã³ãã³ã (ã³ãã³ãç³»ã§æ»ãããªã GNU coreutils, findutils ãªã©ãè¦ãã¨ããããã...
Golangãã§ãããã¨ãããããå¾æãã¨è¨ããããã®ã¯ãã§ã«ããããããã¾ãã ã¯ãã¹ã³ã³ãã¤ã«ãå¾æã ãä¾åãå°ãªããã¤ããªãã§ãããããããããªç°å¢ã§ä½¿ããã³ãã³ãã©ã¤ã³ãã¼ã«ãæ¸ãã«ã¯Goãããã ããã©ã¼ãã³ã¹ãé«ããæååå¦çããããããã®ã§ãé«éãªAPIãµã¼ããå¾æãgRPCã§ãHTTP/2ã§ã Webã¢ããªã±ã¼ã·ã§ã³ã»ãã¬ã¼ã ã¯ã¼ã¯ãå¢ãã¦ãã¦ãã¦ã¦ã§ããµã¼ãã¹ä½ããã ãã«ãã·ã¹ãã ã¨ããã±ã¼ã¸ããã¼ã¸ã£å èµãªã®ã§ãgitããç°¡åã«ããã±ã¼ã¸ããã¦ã³ãã¼ããã¦ããããâ¯makeã³ãã³ãã¨ãâ¯runtã¨ãâ¯owerã§æ¶èããªãã¦æ¸ã gopher.jsã§JavaScriptã«ããªã éã«ä»ã¾ã§ãã¾ãè¯ã解ããªãã¦ããGoã«ã¯ã¡ãã£ã¨ä¸åãã ããã¨è¨ããç¶ãã¦ããã®ãGUIã§ããé³´ãç©å ¥ãã§åºã¦ããGXUIãéçºãæ¢ã¾ã£ã¦ãã¾ããããã¨åããããã«shinyã¨ãããã®ãéçºã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}