mirror of
https://github.com/restic/restic.git
synced 2026-11-06 07:19:21 +00:00
Apply go fix -any ./...
This commit is contained in:
1 parent
d4088aa09b
commit
32e9869cc8
63 files changed
+197
-197
No files matched your search
@@ -43,7 +43,7 @@ func init() {
|
||||
pflag.Parse()
|
||||
}
|
||||
|
||||
func die(f string, args ...interface{}) {
|
||||
func die(f string, args ...any) {
|
||||
if !strings.HasSuffix(f, "\n") {
|
||||
f += "\n"
|
||||
}
|
||||
@@ -52,7 +52,7 @@ func die(f string, args ...interface{}) {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
func msg(f string, args ...interface{}) {
|
||||
func msg(f string, args ...any) {
|
||||
if !strings.HasSuffix(f, "\n") {
|
||||
f += "\n"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user