diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-03-12 22:13:51 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-03-12 22:43:43 +0300 |
| commit | 0bde51b91ea505e38569ae3cbe575695abd2db60 (patch) | |
| tree | 3d27346586f5802d12cdbb7a1fe95c2b5d46156f /web/entity | |
| parent | 280a22b57d14a372d99bcc49add515721290678b (diff) | |
Refactor: Use any instead of interface{}
Diffstat (limited to 'web/entity')
| -rw-r--r-- | web/entity/entity.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/entity/entity.go b/web/entity/entity.go index 98d26faf..02d19701 100644 --- a/web/entity/entity.go +++ b/web/entity/entity.go @@ -10,9 +10,9 @@ import ( ) type Msg struct { - Success bool `json:"success"` - Msg string `json:"msg"` - Obj interface{} `json:"obj"` + Success bool `json:"success"` + Msg string `json:"msg"` + Obj any `json:"obj"` } type AllSetting struct { |
