From 62781eb0a456e792a72d123e155b9dc871326fec Mon Sep 17 00:00:00 2001 From: maxlandon <maximelandon@gmail.com> Date: Tue, 11 Feb 2025 16:43:58 +0000 Subject: [PATCH] Use interface{} instead of any for backward compatibility --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index 9c8a0545..a068ccf0 100644 --- a/command.go +++ b/command.go @@ -114,7 +114,7 @@ type Command struct { // Data are key/value pairs of arbitrary types that can be used by applications or "plugin" libraries // that wish to store and use data associated with a given command. This data will thus share the same // lifetime as the command itself. - Data map[string]any + Data map[string]interface{} // The *Run functions are executed in the following order: // * PersistentPreRun()