Refactor: Use any instead of interface{}

This commit is contained in:
mhsanaei committed 2025-03-12 20:43:43 +01:00
1 parent 280a22b57d
commit 0bde51b91e
19 files changed
+267 -280

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ const (
)
func initModels() error {
models := []interface{}{
models := []any{
&model.User{},
&model.Inbound{},
&model.OutboundTraffics{},