goauth2 インストール時のエラーについて #golang

Go言語のauth2ライブラリ、goauth2をインストールしようとしたらエラーになったのでメモ。
go get したら以下のエラーが発生。

% go get code.google.com/p/goauth2/oauth
go: missing Mercurial command. See http://golang.org/s/gogetcmd
package code.google.com/p/goauth2/oauth: exec: hg: executable file not found in $PATH

Mercurial を使用しているらしくそれがインストールされていないため、エラーになっていたようです。Mercurialをインストールしたら無事 goauth2 が入りました。