(str string,color bool)
| 78 | } |
| 79 | // |
| 80 | func Warn(str string,color bool) { |
| 81 | if color{ |
| 82 | fmt.Printf("%s%s%s %s%s%s\n",RED,WARN,RESET,RED,str,RESET) |
| 83 | } else{ |
| 84 | fmt.Printf("%s%s%s %s\n",RED,WARN,RESET,str) |
| 85 | } |
| 86 | } |
| 87 | // |
| 88 | func Ask(str string,color bool) { |
| 89 | if color{ |