Skip to content

Follow recommended Go 1.13 error handling guidelines #1846

@gmlewis

Description

@gmlewis

In a recent code review, we felt that this repo should use the recommended Go 1.13 error handling guidelines.

Specifically, we should never use reflect.DeepEqual for checking errors (even in tests) and would ideally use the "new" error.Is functionality provided in Go 1.13.

Additionally, we should update the README.md to reflect that it is no longer Go 1.9 that we require, but instead we need a minimum of Go 1.13.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions