mirror of
https://github.com/restic/restic.git
synced 2026-08-05 21:33:16 +00:00
Apply go fix -any ./...
This commit is contained in:
@@ -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