code: func DeleteGateway(db sqlx.Execer, id lorawan.EUI64) error {
  	res, err := db.Exec("delete from gateway where gateway_id = $1", id[:])
  	if err != nil {
  		return handlePSQLError(err, "delete error")
  	}
  	ra, err := res.RowsAffected()
  	if err != nil {
  		return errors.Wrap(err, "get rows affected error")
  	}
  	if ra == 0 {
  		return ErrDoesNotExist
  	}
  	log.WithField("gateway_id", id).Info("gateway deleted")
  	return nil
  }
docs: // DeleteGateway deletes the gateway matching the given Gateway ID.