title: Go equivalent for PHP's pack()?
body: <p>In PHP, to encode binary data, such as integers, floats and so on, I'd do the following:</p>
  
  <pre><code>&lt;?php
  
  $uint32 = pack("V", 92301);
  $uint16 = pack("v", 65535);
  $float = pack("f", 0.0012);
  
  echo "uint32: " . bin2hex($uint32) . "\n"; // 8d680100
  echo "uint16: " . bin2hex($uint16) . "\n"; // ffff
  echo "float: " . bin2hex($float) . "\n"; // 52499d3a
  </code></pre>
  
  <p>How can I bring this code into Go?</p>