1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

fix stringer

This commit is contained in:
Mrs4s 2022-12-01 18:17:36 +08:00
parent 23f637d295
commit 4deeac15f6
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ const (
MacOS // MacOS
QiDian // 企点
IPad // iPad
AndroidPad // Android Pad (和Android Phone同一个包) (com.tencent.common.config.AppSetting)
AndroidPad // Android Pad
)
type AppVersion struct {

View File

@ -14,11 +14,12 @@ func _() {
_ = x[MacOS-3]
_ = x[QiDian-4]
_ = x[IPad-5]
_ = x[AndroidPad-6]
}
const _Protocol_name = "UnsetAndroid PhoneAndroid WatchMacOS企点iPad"
const _Protocol_name = "UnsetAndroid PhoneAndroid WatchMacOS企点iPadAndroid Pad"
var _Protocol_index = [...]uint8{0, 5, 18, 31, 36, 42, 46}
var _Protocol_index = [...]uint8{0, 5, 18, 31, 36, 42, 46, 57}
func (i Protocol) String() string {
if i < 0 || i >= Protocol(len(_Protocol_index)-1) {