ci: 使用vendor进行编译
windnav-release / build (x86_64, linux/amd64) (push) Successful in 5m10s
windnav-release / build (aarch64, linux/arm64) (push) Successful in 10m25s
windnav-release / merge (push) Successful in 8s

This commit is contained in:
weihao
2026-07-17 16:39:49 +08:00
parent 90c43d6dcb
commit 2a11f6c6b8
2576 changed files with 1295395 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// The protoreflect build tag disables use of fast-path methods.
//go:build !protoreflect
// +build !protoreflect
package proto
import (
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/protoiface"
)
const hasProtoMethods = true
func protoMethods(m protoreflect.Message) *protoiface.Methods {
return m.ProtoMethods()
}