Add gometalinter (#36)

This commit is contained in:
Adrian Macneil 2018-04-15 19:59:56 -07:00 committed by GitHub
parent cacf5de3ec
commit ee3162c34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 15 deletions

View file

@ -105,7 +105,7 @@ func mysqldumpArgs(u *url.URL) []string {
if username := u.User.Username(); username != "" {
args = append(args, "--user="+username)
}
// mysql recommands against using environment variables to supply password
// mysql recommends against using environment variables to supply password
// https://dev.mysql.com/doc/refman/5.7/en/password-security-user.html
if password, set := u.User.Password(); set {
args = append(args, "--password="+password)