ååãGoãå§ããä¸ã§ãæ¡å¤ã¾ã¨ã¾ã£ãè³æãç¡ãããã ã£ãã®ã§æ¸ãã¦ã¿ããã¨ã«ãã¾ããã Macã§homebrewãå ¥ã£ã¦ãããã¨ãåæã§ããäºåã« brew update ããããªã formula ãææ°ã®ãã®ã«ãã¦ããã¨èºããã¨ãå°ãªãã§ãããã Goã®ã¤ã³ã¹ãã¼ã« % brew install go ã¨ã³ããªå·çæç¹ã§ã¯ã1.6.2 ãå ¥ãã¾ããGoã¯ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ãåãå ´åã¯ãå¾æ¹äºæãä¿ããã¦ããã®ã§ãåºæ¬çã«æ°ãããã¤ãå ¥ãã¦åé¡ããã¾ããã ç°å¢å¤æ°ã®è¨å® $GOPATH ã ãã決ããã°OKã§ãã$GOPATH ã¯ã©ãã§ãè¯ãã®ã§ãããããã§ã¯ $HOME/dev ã $GOPATH ã«è¨å®ãã¾ããã¾ãã $GOPATH/bin ã« $PATH ãéãã¦ããã¾ãã export GOPATH=$HOME/dev export PATH=$GOPATH/bin:$PATH
{{#tags}}- {{label}}
{{/tags}}