Ruby 1.9.3 Digest::SHA1.hexdigest equivalent in Golang : <p>How can I replicate this method from Ruby 1.9.3 to Golang 1.7?</p>

<pre><code>require 'digest/sha2'
text = Digest::SHA1.hexdigest("Hello world")
</code></pre>
