opentofu/internal/legacy/tofu/ui_output_callback.go
2023-09-20 16:10:32 +03:00

13 lines
204 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package tofu
type CallbackUIOutput struct {
OutputFn func(string)
}
func (o *CallbackUIOutput) Output(v string) {
o.OutputFn(v)
}