Skip to content

Commit e8d4238

Browse files
authored
examples/net-messages: ldflags for unhandled messages
1 parent 8945d9f commit e8d4238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/net-messages/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
You can use the build tag `debugdemoinfocs` to find interesting net-messages.
66

7-
Example: `go run myprogram.go -tags debugdemoinfocs | grep "UnhandledMessage" | sort | uniq -c`
7+
Example: `go run myprogram.go -tags debugdemoinfocs -ldflags '-X github.com/markus-wa/demoinfocs-golang.debugUnhandledMessages=YES' | grep "UnhandledMessage" | sort | uniq -c`
88

99
<details>
1010
<summary>Sample output</summary>

0 commit comments

Comments
 (0)