1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
MiraiGo/client/syncmarker_string.go
wdvxdr 6e33d2fc34
feat: stash client functions
when we restart a client, it takes too long to sync the friend & group lists. This stash functions will help us to reduce sync time when in development.

DON'T USE THIS, this is not checked.
2021-11-21 23:25:52 +08:00

30 lines
922 B
Go

// Code generated by "stringer -type=syncMarker -trimprefix=syncMarker"; DO NOT EDIT.
package client
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[syncMarkerNone-0]
_ = x[syncMarkerFriendList-1]
_ = x[syncMarkerFriendInfo-2]
_ = x[syncMarkerGroupList-3]
_ = x[syncMarkerGroupInfo-4]
_ = x[syncMarkerGroupMemberList-5]
_ = x[syncMarkerGroupMemberInfo-6]
}
const _syncMarker_name = "NoneFriendListFriendInfoGroupListGroupInfoGroupMemberListGroupMemberInfo"
var _syncMarker_index = [...]uint8{0, 4, 14, 24, 33, 42, 57, 72}
func (i syncMarker) String() string {
if i < 0 || i >= syncMarker(len(_syncMarker_index)-1) {
return "syncMarker(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _syncMarker_name[_syncMarker_index[i]:_syncMarker_index[i+1]]
}