mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 00:03:29 +03:00
1814ae52f4
Expand the generated-file gate beyond *_gen.go and go.sum to cover generated tests, msgp output, stringer files, go.mod, and untracked generated artifacts. Regenerate the 19 stale stringer outputs with the go.mod-pinned x/tools version. Runtime String output is unchanged, and a repeated generation pass now leaves the tree byte-identical. Co-authored-by: ChatGPT <noreply@openai.com> Co-authored-by: Claude <noreply@anthropic.com>
41 lines
1.2 KiB
Go
41 lines
1.2 KiB
Go
// Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT.
|
|
|
|
package grid
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[OpConnect-1]
|
|
_ = x[OpConnectResponse-2]
|
|
_ = x[OpPing-3]
|
|
_ = x[OpPong-4]
|
|
_ = x[OpConnectMux-5]
|
|
_ = x[OpMuxConnectError-6]
|
|
_ = x[OpDisconnectClientMux-7]
|
|
_ = x[OpDisconnectServerMux-8]
|
|
_ = x[OpMuxClientMsg-9]
|
|
_ = x[OpMuxServerMsg-10]
|
|
_ = x[OpUnblockSrvMux-11]
|
|
_ = x[OpUnblockClMux-12]
|
|
_ = x[OpAckMux-13]
|
|
_ = x[OpRequest-14]
|
|
_ = x[OpResponse-15]
|
|
_ = x[OpDisconnect-16]
|
|
_ = x[OpMerged-17]
|
|
}
|
|
|
|
const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconnectClientMuxDisconnectServerMuxMuxClientMsgMuxServerMsgUnblockSrvMuxUnblockClMuxAckMuxRequestResponseDisconnectMerged"
|
|
|
|
var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179}
|
|
|
|
func (i Op) String() string {
|
|
idx := int(i) - 1
|
|
if i < 1 || idx >= len(_Op_index)-1 {
|
|
return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Op_name[_Op_index[idx]:_Op_index[idx+1]]
|
|
}
|