forked from Elara6331/itd
Run formatter
This commit is contained in:
parent
3d02ff5b64
commit
b8746cc924
@ -30,7 +30,7 @@ type NotifyData struct {
|
|||||||
type FSTransferProgress struct {
|
type FSTransferProgress struct {
|
||||||
Total uint32
|
Total uint32
|
||||||
Sent uint32
|
Sent uint32
|
||||||
Err error
|
Err error
|
||||||
}
|
}
|
||||||
|
|
||||||
type FileInfo struct {
|
type FileInfo struct {
|
||||||
|
@ -16,7 +16,7 @@ import (
|
|||||||
var cfgDir string
|
var cfgDir string
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
etcPath := "/etc/itd.toml";
|
etcPath := "/etc/itd.toml"
|
||||||
|
|
||||||
// Set up logger
|
// Set up logger
|
||||||
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
|
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
|
||||||
|
@ -9,7 +9,7 @@ func TestTransliterate(t *testing.T) {
|
|||||||
expected string
|
expected string
|
||||||
}
|
}
|
||||||
|
|
||||||
var cases = []testCase{
|
cases := []testCase{
|
||||||
{"eASCII", "œª°«»", `oeao""`},
|
{"eASCII", "œª°«»", `oeao""`},
|
||||||
{"Scandinavian", "ÆæØøÅå", "AeaeOeoeAaaa"},
|
{"Scandinavian", "ÆæØøÅå", "AeaeOeoeAaaa"},
|
||||||
{"German", "äöüÄÖÜßẞ", "aeoeueAeOeUessSS"},
|
{"German", "äöüÄÖÜßẞ", "aeoeueAeOeUessSS"},
|
||||||
|
Loading…
Reference in New Issue
Block a user