terraform/internal/legacy/terraform/ui_output_callback.go

10 lines
139 B
Go

package terraform
type CallbackUIOutput struct {
OutputFn func(string)
}
func (o *CallbackUIOutput) Output(v string) {
o.OutputFn(v)
}