From 0bde51b91ea505e38569ae3cbe575695abd2db60 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Wed, 12 Mar 2025 20:13:51 +0100 Subject: Refactor: Use any instead of interface{} --- xray/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xray/api.go') diff --git a/xray/api.go b/xray/api.go index 727ab526..3a2dddd6 100644 --- a/xray/api.go +++ b/xray/api.go @@ -92,7 +92,7 @@ func (x *XrayAPI) DelInbound(tag string) error { return err } -func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]interface{}) error { +func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]any) error { var account *serial.TypedMessage switch Protocol { case "vmess": -- cgit v1.2.3