= golang = <> packageでエラーになるので、調べた。  go versionが関係しているらしいので、1.6に更新したら、エラーは消えた。 動くといいが。-- ToshinoriMaeno <> == package == https://golang.org/pkg/crypto/ tls は cryptoの下らしい。 $ go get github.com/golang/crypto {{{ package github.com/golang/crypto imports github.com/golang/crypto imports github.com/golang/crypto: no buildable Go source files in /home/tmaeno/gocode/src/github.com/golang/crypto }}} ----- https://www.somethingsimilar.com/2012/05/24/finding-go.crypto-and-go.net/ It’s kind of a pain in the ass to find the go.crypto and go.net packages and there’s wonderful goodies in both of them. == Packages == https://www.golang-book.com/books/intro/11 Using a terminal in the math folder you just created run go install. This will compile the math.go program and create a linkable object file: ~/pkg/os_arch/golang-book/chapter11/math.a. (where os is something like windows and arch is something like amd64) $ go install がエラーになる。 {{{ go install: no install location for directory /home/tmaeno/src/golang-book/chapter11/math outside GOPATH }}} {{{ When you provide no arguments to go install, it defaults to attempting to install the package in the current directory. The error message is telling you that it cannot do that, because the current directory isn't part of your $GOPATH. }}} You can either: {{{ Define $GOPATH to your $HOME (export GOPATH=$HOME). Move your source to within the current $GOPATH (mv ~/src/go-statsd-client /User/me/gopath). }}} == Testing == https://www.golang-book.com/books/intro/12 == go version == https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04