mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -06:00
13 lines
204 B
Go
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)
|
|
}
|