Source File
connmode_string.go
Belonging Package
github.com/gotd/td/telegram/internal/manager
// Code generated by "stringer -type=ConnMode"; DO NOT EDIT.
package manager
import
func () {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var [1]struct{}
_ = [ConnModeUpdates-0]
_ = [ConnModeData-1]
_ = [ConnModeCDN-2]
}
const _ConnMode_name = "ConnModeUpdatesConnModeDataConnModeCDN"
var _ConnMode_index = [...]uint8{0, 15, 27, 38}
func ( ConnMode) () string {
if >= ConnMode(len(_ConnMode_index)-1) {
return "ConnMode(" + strconv.FormatInt(int64(), 10) + ")"
}
return _ConnMode_name[_ConnMode_index[]:_ConnMode_index[+1]]
}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |