Change a Go variable to camel case

This commit is contained in:
jordi fita mas 2023-01-30 16:40:51 +01:00
parent 019ba0e520
commit 77acbc5ced
1 changed files with 3 additions and 3 deletions

View File

@ -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())