internal/info/gutter.go
raw| 1 | package info |
| 2 | |
| 3 | // A GutterMessage is a message displayed on the side of the editor |
| 4 | type GutterMessage struct { |
| 5 | lineNum int |
| 6 | msg string |
| 7 | kind int |
| 8 | } |
| 9 | |
| 10 | // These are the different types of messages |
| 11 | const ( |
| 12 | // GutterInfo represents a simple info message |
| 13 | GutterInfo = iota |
| 14 | // GutterWarning represents a compiler warning |
| 15 | GutterWarning |
| 16 | // GutterError represents a compiler error |
| 17 | GutterError |
| 18 | ) |