Files
act_runner/pkg/workflowpattern/trace_writer.go
silverwind 1670945af3 Fix all 93 lint-go errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:59:05 +01:00

22 lines
329 B
Go

package workflowpattern
import (
"fmt"
"os"
)
type TraceWriter interface {
Info(string, ...any)
}
type EmptyTraceWriter struct{}
func (*EmptyTraceWriter) Info(string, ...any) {
}
type StdOutTraceWriter struct{}
func (*StdOutTraceWriter) Info(format string, args ...any) {
fmt.Fprintf(os.Stdout, format+"\n", args...)
}