This commit is contained in:
parent
1ad99fafc4
commit
27cd275ddb
@ -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