mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
This can be very helpful if you lay out each value's string representation like this: and // & andAnd // && or // | orOr // || Without the use of comments, it's impossible to use stringer with these names as the characters & and | cannot form valid identifiers in a Go program. Fixes #20483. Change-Id: I4d36c74059dd48ae3a5e09b70a429a75853ef179 Reviewed-on: https://go-review.googlesource.com/44076 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Rob Pike <r@golang.org>