mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-28 15:02:28 +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:
@@ -54,7 +54,7 @@ func dkimSign() {
|
||||
ctx := context.Background()
|
||||
if _, verbose := args["-v"]; verbose {
|
||||
ctx = dkim.WithTraceFunc(ctx,
|
||||
func(format string, args ...interface{}) {
|
||||
func(format string, args ...any) {
|
||||
fmt.Fprintf(os.Stderr, format+"\n", args...)
|
||||
})
|
||||
}
|
||||
@@ -77,7 +77,7 @@ func dkimVerify() {
|
||||
ctx := context.Background()
|
||||
if _, verbose := args["-v"]; verbose {
|
||||
ctx = dkim.WithTraceFunc(ctx,
|
||||
func(format string, args ...interface{}) {
|
||||
func(format string, args ...any) {
|
||||
fmt.Fprintf(os.Stderr, format+"\n", args...)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user