Change a Go variable to camel case
This commit is contained in:
parent
019ba0e520
commit
77acbc5ced
|
@ -75,12 +75,12 @@ func mustGetAvailableLanguages(db *Db) []language.Tag {
|
|||
|
||||
var langs []language.Tag
|
||||
for rows.Next() {
|
||||
var lang_tag string
|
||||
err = rows.Scan(&lang_tag)
|
||||
var langTag string
|
||||
err = rows.Scan(&langTag)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
langs = append(langs, language.MustParse(lang_tag))
|
||||
langs = append(langs, language.MustParse(langTag))
|
||||
}
|
||||
if rows.Err() != nil {
|
||||
panic(rows.Err())
|
||||
|
|
Loading…
Reference in New Issue