mirror of
https://github.com/foomo/gotsrpc.git
synced 2026-07-01 07:10:08 +00:00
16 lines
197 B
Go
16 lines
197 B
Go
package codegen
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
// Trace enables debug output for code generation.
|
|
var Trace = false
|
|
|
|
func trace(args ...any) {
|
|
if Trace {
|
|
_, _ = fmt.Fprintln(os.Stderr, args...)
|
|
}
|
|
}
|