MCPcopy Create free account
hub / github.com/cel-expr/cel-go / convertProto

Function convertProto

common/ast/conversion.go:701–708  ·  view source on GitHub ↗
(src, dst proto.Message)

Source from the content-addressed store, hash-verified

699}
700
701func convertProto(src, dst proto.Message) error {
702 pb, err := proto.Marshal(src)
703 if err != nil {
704 return err
705 }
706 err = proto.Unmarshal(pb, dst)
707 return err
708}

Callers 1

AlphaProtoConstantAsValFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected