mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29: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
@@ -100,7 +100,7 @@ func ParseBytes(s string) (int64, error) {
|
||||
return value, nil
|
||||
}
|
||||
|
||||
func ToJSONString(status interface{}) string {
|
||||
func ToJSONString(status any) string {
|
||||
buf := new(bytes.Buffer)
|
||||
err := json.NewEncoder(buf).Encode(status)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user