toBase64String 转换为base64字符串
()
| 167 | |
| 168 | // toBase64String 转换为base64字符串 |
| 169 | func (i icon) toBase64String() string { |
| 170 | return "base64://" + strings.TrimPrefix(string(i), "data:image/png;base64,") |
| 171 | } |
| 172 | |
| 173 | // genServerSubscribeSchema 将DTO转换为DB Schema |
| 174 | func (dto *serverPingAndListResp) genServerSubscribeSchema(addr string, id int64) *serverStatus { |
no outgoing calls
no test coverage detected