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
|
var langs []language.Tag
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
var lang_tag string
|
var langTag string
|
||||||
err = rows.Scan(&lang_tag)
|
err = rows.Scan(&langTag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
langs = append(langs, language.MustParse(lang_tag))
|
langs = append(langs, language.MustParse(langTag))
|
||||||
}
|
}
|
||||||
if rows.Err() != nil {
|
if rows.Err() != nil {
|
||||||
panic(rows.Err())
|
panic(rows.Err())
|
||||||
|
|
Loading…
Reference in New Issue