mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-21 15:17:01 +00:00
internal/dkim: Apply gofmt -s
A run of `gofmt -s` found two instances where a struct definition could be simplified. This patch applies those suggestions.
This commit is contained in:
@@ -47,7 +47,7 @@ func TestSignRSA(t *testing.T) {
|
||||
}
|
||||
|
||||
ctx = WithLookupTXTFunc(ctx, makeLookupTXT(map[string][]string{
|
||||
"test._domainkey.example.com": []string{
|
||||
"test._domainkey.example.com": {
|
||||
"v=DKIM1; p=" + base64.StdEncoding.EncodeToString(pub),
|
||||
},
|
||||
}))
|
||||
@@ -94,7 +94,7 @@ func TestSignEd25519(t *testing.T) {
|
||||
}
|
||||
|
||||
ctx = WithLookupTXTFunc(ctx, makeLookupTXT(map[string][]string{
|
||||
"test._domainkey.example.com": []string{
|
||||
"test._domainkey.example.com": {
|
||||
"v=DKIM1; k=ed25519; p=" + base64.StdEncoding.EncodeToString(pub),
|
||||
},
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user