cors icon indicating copy to clipboard operation
cors copied to clipboard

Error any time I try to download cors

Open Edinsonmyosa opened this issue 5 years ago • 1 comments

Hi,

I,ve been tring to get cors using go "get github.com/gin-contrib/cors" but Iḿ getting this error, could you please help me!

google.golang.org/protobuf/proto

../../../src/google.golang.org/protobuf/proto/proto_methods.go:18:23: cannot use m.ProtoMethods() (type *protoreflect.Message) as type *struct { pragma.NoUnkeyedLiterals; Flags uint64; Size func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Flags uint8 }) struct { pragma.NoUnkeyedLiterals; Size int }; Marshal func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Buf []byte; Flags uint8 }) (struct { pragma.NoUnkeyedLiterals; Buf []byte }, error); Unmarshal func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Buf []byte; Flags uint8; Resolver interface { FindExtensionByName(protoreflect.FullName) (protoreflect.ExtensionType, error); FindExtensionByNumber(protoreflect.FullName, protowire.Number) (protoreflect.ExtensionType, error) } }) (struct { pragma.NoUnkeyedLiterals; Flags uint8 }, error); Merge func(struct { pragma.NoUnkeyedLiterals; Source protoreflect.Message; Destination protoreflect.Message }) struct { pragma.NoUnkeyedLiterals; Flags uint8 }; CheckInitialized func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message }) (struct { pragma.NoUnkeyedLiterals }, error) } in return argument

I tried downloading just the files but im still getting this message, iḿ new with this so i would really appreciate your help!

Edinsonmyosa avatar Apr 21 '20 01:04 Edinsonmyosa

https://github.com/golang/protobuf/issues/1094

relunctance avatar Apr 21 '20 12:04 relunctance