Skip to content

tidy: simplify int conversions

Administrator requested to merge sourcegraph/campaign-2 into master

Created by: rvantonder

strconv.Itoa(:[var]) is equivalent to FormatInt(int64(:[var]), 10). Reference.

Created with

{
    "matchTemplate": "strconv.FormatInt(int64(:[v]), 10)",
    "rewriteTemplate": "strconv.Itoa(:[v])",
    "scopeQuery": "repo:github.com/sourcegraph/sourcegraph$ lang:go"
}

Merge request reports

Loading