syscall: stringer API for Signal should include the symbolic identifier in its output #43489
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
The stringer interface for type
syscall.Signal
should include the Go syscall symbol name in the string for the signal. For example, "SIGTERM" should appear in the string if the value issyscall.SIGTERM
. Alternatively, provide a separate method for explicitly converting asyscall.Signal
to its syscall symbol.What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
I did the equivalent of
fmt.Println(syscall.SIGTERM)
.What did you expect to see?
Something like
SIGTERM (terminated)
.What did you see instead?
terminated
The text was updated successfully, but these errors were encountered: