PrintErrorWithDetails 打印错误信息和详细信息
(message string, details ...string)
| 46 | |
| 47 | // PrintErrorWithDetails 打印错误信息和详细信息 |
| 48 | func PrintErrorWithDetails(message string, details ...string) { |
| 49 | fmt.Println() |
| 50 | fmt.Println(message) |
| 51 | for _, detail := range details { |
| 52 | fmt.Println(detail) |
| 53 | } |
| 54 | fmt.Println() |
| 55 | } |
| 56 | |
| 57 | // getLatestVersion 获取GitHub最新版本号 |
| 58 | func getLatestVersion() string { |
no outgoing calls
no test coverage detected