Check out `iota`:

```go
+const (
  OutputModeReplace OutputMode = iota // replace input extension
  OutputModePrepend // prepend to input extension
  OutputModeAppend // append to input extension
  OutputModeDiscard // there is no output
)
```

Also note the naming change and that I've exported `OutputMode`.