Tips for writing clear, performant, and idiomatic Go code
ãã®ã¾ãScalaã«ææ¦ããã°ããã§ãããã¡ããã©å é±ã®åææ¥ã«ããã³ãã³ã®Googleãªãã£ã¹ã§Google Go(Golang)ã®ä¸æ¥ã³ã¼ã¹ãåããæ©ä¼ãããã¾ãããé常ã«å å®ããå 容ã ã£ãã®ã§å°ãç´¹ä»ãã¾ãã [åçæä¾ã¯è¬å¸«ã®@enneff ãããã] è¬ç¾©ã®pdfãåçã³ã¼ãã¯ããã§å ¬éããã¦ãã¾ãã http://swtch.com/usenix http://swtch.com/usenix/go-course.pdf ãçè«ããå®è·µãã®ã³ã³ã»ããã®ãã¨ããè¬å¸«ã«ããè¬ç¾©ï¼ï¼åãå®éã«æ¼ç¿ã§ããã°ã©ãã³ã°ã«ï¼ï¼åãã¨ãããµã¤ã¯ã«ã®ã»ãã·ã§ã³ãï¼åè¡ãã¾ããã Nuts and Bolts Interfaces Concurrency with Channels Networking with RPCs æ¼ç¿ã®é¡æãããã§ããã¨ãããããã¦ããçãã§ãã以ä¸ã®ãµã³ãã«ã¯ã»ãã·ã§
I'm writing a book about Go. It is very much a work-in-progress, but I just wanted to mention this work and publish a snapshot. The aim is to explain Go and to provide many (many) exercises (and answers) so people may learn this wonderful language. It is written using (of course), see gitweb for the code. Help is appreciated. The pdf of today (aka daily build) can be found here. The title page lo
Goã¯Googleãä¸å¿ã¨ãªã£ã¦ãªã¼ãã³ã½ã¼ã¹ã§éçºãé²ãã§ããããã°ã©ãã³ã°è¨èªã§ãããããããªããã°ã©ãã³ã°è¨èªã®è¯ãã¨ãããæ¡ãå ¥ããGoã¯ãæ§ã ãªâé¡âãæã£ã¦ãã¾ããGoè¨èªã®çã¾ããèæ¯ãç¹å¾´ãªã©ã«ã¤ãã¦ãã°ã¼ã°ã«ã®ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ã§ããéµé£¼æææ°ã«ã話ã伺ãã¾ããã Goãçã¾ããçµç·¯ãèæ¯ã«ã¤ãã¦æãã¦ãã ããã Googleã®ä¸ã«ã¯æ¤ç´¢ã¨ã³ã¸ã³ããGoogle App Engineããªã©ãæ§ã ãªãµã¼ãã¼ãããããããã®ã§ããããã®ä¸ã§ã¹ãã¼ããè¦æ±ããé¨åã§ã¯C++ã使ã£ã¦ãã¾ãããã ãC++ã¯å®è¡é度ã¯éãã®ã§ããããã«ãã«é常ã«æéããããã¾ãã社å ã§ã¯åæ£ã³ã³ãã¤ã«ç°å¢ãä½ã£ã¦ãã¾ãããä»®ã«æ¤ç´¢ã¨ã³ã¸ã³ã®ãµã¼ãã¼ã1å°ã®ãã·ã³ã§ãã«ããããã¨ããã¨ã1æ¥ãããã®åä½ã§æéãè¦ã¦ãããªããã°ãªãã¾ãããCPUãªã©ãéããªã£ã¦ããã®ã«ã³ã³ãã¤ã«ãé ãã¨ããã®ã¯ä½ã
Programming Languages Google's Python Class This is a complete online introduction to Python programming, including writen materials, lecture videos, and coding exercises. The class is geared for people with a little bit of programming experience, and is used within google to introduce Python. Below are video-taped lectures from Google Video on various technology areas. These videos are great oppo
I sat down last night to learn go. Iâve been a fan of concurrency-oriented languages since I wrote my first erlang program in early 2004 (which I still use). Iâve been itching to give go a go since the announcement. The first thing I thought of that could naturally be modeled as a concurrent program was a memcached server. That has sort of become my âhello, worldâ as I have implemented the first p
http://golang.org/ golangã¨ããè¬ã®è¨èªãããã¾ããä½ã¬ã¤ã¤ã¼ãªéçã·ã¹ãã ããã°ã©ãã³ã°è¨èªã¨ãã¦C/C++ããéå ·ãã¼ã®ã¯ããã©ãããã ãJKã¨ããçºæ³ã®å ã¤ããããè¨èªãããªãããªã¨æã£ã¦ãã¾ããããããã®å²ã¨æ¬²ãããã ããªã¼ã¨æã£ã¦ããã®ã§è³å³åã®ä½æãæ¢ã«ãã£ã¦ã人ã¨ããããã§ããããã ãªã¼ã¨æããªããã % 6g bf.go % 6l bf.6 % cat hello.bf >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++ ++>-]<.>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]> ++++++++[<++++>-]<+.[-]++++++++++. % ./6.ou
追è¨:ãkzk's blogãã®ãWriting TokyoCabinet wrapper for Go languageãã§ç´¹ä»å¾¡ç¤¼ããã®è¨äºã¯ cgo ã使ã£ã TokyoCabinet ã®ã©ããã¼ã®æ¸ãæ¹ã解説ãã¦ããã®ã§ãä¸è¨ã®ã³ã¼ãã¨çµã¿åããã¦æ¬å½ã« tc ã backend ã«ãªã£ã¦ãã KVS ãæ¸ãã¦ã¿ãã®ãããããã ãæ©é Go è¨èªã試ãã¦ã¿ãï¼ãã¨ãã ãGo ã§ç¡é§ã«ãã£ã³ãã«ã使ã£ã¦ã¯ã¤ãã¯ã½ã¼ãã®ãããªãã®ãæ¸ãã¦ã¿ããã¨ãã ãã¡ãã¯ã¨ããã¨ã試ãã« memcache ãã¤ããªãããã³ã«ã§éä¿¡ãã KVS ãã©ããæ¸ããã ãµã¼ãã®ã¤ãã³ãã«ã¼ã㧠go ããã°å ¨é¨æ¸ãã®ã楽ã¡ãã§ããã 追è¨: HandleConn() ã®ä¸ã§ãbackend_ch ã backend ã¨ã®éä¿¡ã¨å信両æ¹ã«ä½¿ã£ã¦ããã®ã ãã©ãããã«ããããã«ãã¾ã£ãã誤ãã ã¨ãããã¨ãå
ã¯ããã« Google ããæ°ããã°ã©ãã³ã°è¨èª The Go Programming Language ãçºè¡¨ããã¾ãããï¼ ã¨ããããã§ããã£ãã試ãã¦ã¿ããã¨æãã¾ãã ç°å¢ã¯ Mac OS X 10.6 ã¤ã³ã¹ãã¼ã« ãã£ããã¤ã³ã¹ãã¼ã« Getting Started - The Go Programming Language ãè¦ãªãã ç°å¢ã®æºå ãã£ã¬ã¯ããªãä½ã amacbook% cd ~ amacbook% mkdir go amacbook% mkdir binç°å¢å¤æ°ã®è¨å®ãããã~/.zshrc ã«ä»¥ä¸ã追å # Go ç¨ export GOROOT=$HOME/go export GOOS=darwin export GOARCH=amd64 export GOBIN=$HOME/bin export PATH=$GOBIN:$PATH Mercurial ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}