1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-28 23:20:10 +02:00

сделал CreateFromStdTime

This commit is contained in:
Nikitin Aleksandr
2023-12-25 13:30:55 +03:00
parent 2c25ce7ae7
commit 0c5ee45514
567 changed files with 33952 additions and 9761 deletions

View File

@@ -26,7 +26,7 @@ func HasExtension(m Message, xt protoreflect.ExtensionType) bool {
}
// ClearExtension clears an extension field such that subsequent
// HasExtension calls return false.
// [HasExtension] calls return false.
// It panics if m is invalid or if xt does not extend m.
func ClearExtension(m Message, xt protoreflect.ExtensionType) {
m.ProtoReflect().Clear(xt.TypeDescriptor())