code: func GetDevice(db sqlx.Queryer, devEUI lorawan.EUI64) (Device, error) {
  	var d Device
  	err := sqlx.Get(db, &d, "select * from device where dev_eui = $1", devEUI[:])
  	if err != nil {
  		return d, handlePSQLError(err, "select error")
  	}
  
  	return d, nil
  }
docs: // GetDevice returns the device matching the given DevEUI.