diff --git a/api/types.go b/api/types.go index bfb1bf8..0bec24c 100644 --- a/api/types.go +++ b/api/types.go @@ -30,7 +30,7 @@ type NotifyData struct { type FSTransferProgress struct { Total uint32 Sent uint32 - Err error + Err error } type FileInfo struct { diff --git a/config.go b/config.go index 8956d4d..7cb9867 100644 --- a/config.go +++ b/config.go @@ -16,7 +16,7 @@ import ( var cfgDir string func init() { - etcPath := "/etc/itd.toml"; + etcPath := "/etc/itd.toml" // Set up logger log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}) diff --git a/translit/translit_test.go b/translit/translit_test.go index 07cc678..a3cff17 100644 --- a/translit/translit_test.go +++ b/translit/translit_test.go @@ -9,7 +9,7 @@ func TestTransliterate(t *testing.T) { expected string } - var cases = []testCase{ + cases := []testCase{ {"eASCII", "œª°«»", `oeao""`}, {"Scandinavian", "ÆæØøÅå", "AeaeOeoeAaaa"}, {"German", "äöüÄÖÜßẞ", "aeoeueAeOeUessSS"},