NOISSUE - Replace interface{} with any (#285)

Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
Dušan Borovčanin
2025-08-26 13:26:32 +02:00
committed by GitHub
parent 21494525fe
commit 60e256c267
80 changed files with 369 additions and 369 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ func setConfigValue(key, value string) error {
}
}
configKeyToField := map[string]interface{}{
configKeyToField := map[string]any{
"channels_url": &config.Remotes.ChannelsURL,
"clients_url": &config.Remotes.ClientsURL,
"groups_url": &config.Remotes.GroupsURL,
+1 -1
View File
@@ -43,7 +43,7 @@ var (
LastName string = ""
)
func logJSONCmd(cmd cobra.Command, iList ...interface{}) {
func logJSONCmd(cmd cobra.Command, iList ...any) {
for _, i := range iList {
m, err := json.Marshal(i)
if err != nil {