mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-29 15:02:30 +00:00
Apply go fix to simplify using modern features
This patch contains the result of running `go fix ./...`, which applies simplifications that make use of modern language features. There are no logic or behaviour changes.
This commit is contained in:
@@ -27,8 +27,8 @@ var defaultConfig = &Config{
|
||||
|
||||
DataDir: "/var/lib/chasquid",
|
||||
|
||||
SuffixSeparators: proto.String("+"),
|
||||
DropCharacters: proto.String("."),
|
||||
SuffixSeparators: new("+"),
|
||||
DropCharacters: new("."),
|
||||
|
||||
MailLogPath: "<syslog>",
|
||||
|
||||
|
||||
@@ -86,8 +86,8 @@ func TestFullConfig(t *testing.T) {
|
||||
|
||||
DataDir: "/var/lib/chasquid",
|
||||
|
||||
SuffixSeparators: proto.String(""),
|
||||
DropCharacters: proto.String(""),
|
||||
SuffixSeparators: new(""),
|
||||
DropCharacters: new(""),
|
||||
|
||||
MailLogPath: "<syslog>",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user