Skip to content

simplify cases of strings.Index with strings.Contains#4342

Merged
sougou merged 1 commit intovitessio:masterfrom
teresy:simplify-index
Nov 9, 2018
Merged

simplify cases of strings.Index with strings.Contains#4342
sougou merged 1 commit intovitessio:masterfrom
teresy:simplify-index

Conversation

@teresy
Copy link
Copy Markdown
Contributor

@teresy teresy commented Nov 6, 2018

Simplifes cases of strings.Index with strings.Contains. Inspired by https://staticcheck.io/docs/gosimple#S1003

Signed-off-by: Rijnard van Tonder <hi.teresy@gmail.com>
@sougou sougou merged commit 22a291a into vitessio:master Nov 9, 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.

2 participants