title: Working with USB in Go
body: <p>Can somebody provide an example of using <a href="https://github.com/popons/go-libusb/" rel="nofollow"><code>go-libusb</code></a> (or may be any other lib working with USB in Golang)  .</p>
  
  <ol>
  <li>I have created package <code>libusb</code></li>
  <li>Copied the content from <a href="https://github.com/popons/go-libusb/blob/main/libusb.go" rel="nofollow">https://github.com/popons/go-libusb/blob/main/libusb.go</a></li>
  </ol>
  
  <p>There is an error:</p>
  
  <pre><code>Unresolved symbol: '_Cstruct_usb_device_descriptor' 
  </code></pre>
  
  <p>Thank you. </p>