Skip to content

Conditional mutations issue #33

@sivchari

Description

@sivchari
  // Origin
  if err != nil {
      return err
  }

  // After mutating
  if err < nil {  // ❌ invalid operation: err < nil (operator < not defined on interface)
      return err
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions