WithFileAnnotationErrorFormat returns a new ControllerOption that sets the FileAnnotation format.
(fileAnnotationErrorFormat string)
| 30 | |
| 31 | // WithFileAnnotationErrorFormat returns a new ControllerOption that sets the FileAnnotation format. |
| 32 | func WithFileAnnotationErrorFormat(fileAnnotationErrorFormat string) ControllerOption { |
| 33 | return func(controller *controller) { |
| 34 | controller.fileAnnotationErrorFormat = fileAnnotationErrorFormat |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // WithFileAnnotationsToStdout returns a new ControllerOption that sends FileAnnotations to stdout |
| 39 | func WithFileAnnotationsToStdout() ControllerOption { |
no outgoing calls
no test coverage detected
searching dependent graphs…