| 6 | ) |
| 7 | |
| 8 | type Result struct { |
| 9 | Code int `json:"code"` |
| 10 | Msg string `json:"message"` |
| 11 | Data interface{} `json:"data"` |
| 12 | } |
| 13 | |
| 14 | // Success 成功 |
| 15 | func Success(data interface{}) Result { |
nothing calls this directly
no outgoing calls
no test coverage detected