internal/trace: go fmt

Change-Id: I6a6a636c8f14008d3da6c526be10fa3386d4ec32
Reviewed-on: https://go-review.googlesource.com/c/go/+/722522
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
Michael Pratt 2025-11-20 16:25:40 -05:00
parent f87aaec53d
commit c851827c68

View file

@ -7,22 +7,22 @@ package testtrace
import ( import (
"flag" "flag"
"fmt" "fmt"
"io"
"internal/trace/raw" "internal/trace/raw"
"io"
"os" "os"
"testing" "testing"
) )
var ( var (
convert = flag.String("convert", "", "Path to trace text file to convert to binary format") convert = flag.String("convert", "", "Path to trace text file to convert to binary format")
output = flag.String("out", "", "Output path for converted trace") output = flag.String("out", "", "Output path for converted trace")
) )
// TestConvertDump is not actually a test, it is a tool for converting trace // TestConvertDump is not actually a test, it is a tool for converting trace
// text dumps generated by Dump into the binary trace format. Set -convert and // text dumps generated by Dump into the binary trace format. Set -convert and
// -o to perform a converison. // -o to perform a converison.
// //
// go test internal/trace/testtrace -convert in.tracetxt -out out.trace // go test internal/trace/testtrace -convert in.tracetxt -out out.trace
// //
// This would be cleaner as a dedicated internal command rather than a test, // This would be cleaner as a dedicated internal command rather than a test,
// but cmd/dist does not handle internal (non-distributed) commands in std // but cmd/dist does not handle internal (non-distributed) commands in std