Skip to content

use type switch with var binding#372

Merged
chris-ramon merged 1 commit intographql-go:masterfrom
quasilyte:master
Jul 28, 2018
Merged

use type switch with var binding#372
chris-ramon merged 1 commit intographql-go:masterfrom
quasilyte:master

Conversation

@quasilyte
Copy link
Contributor

Allows to remove redundant type assertions inside case clauses.

Found using https://go-critic.github.io/overview.html#typeSwitchVar-ref

Allows to remove redundant type assertions inside case clauses.

Found using https://go-critic.github.io/overview.html#typeSwitchVar-ref
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.919% when pulling 1d39c5c on Quasilyte:master into 990c305 on graphql-go:master.

@chris-ramon
Copy link
Member

LGTM 👍 — thanks a lot @quasilyte!

@chris-ramon chris-ramon merged commit 4620584 into graphql-go:master Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants