mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
fix: some linting issues (#2563)
This commit is contained in:
@ -14,7 +14,7 @@ import (
|
||||
protoCodec "go-micro.dev/v4/codec/proto"
|
||||
)
|
||||
|
||||
// protoStruct implements proto.Message
|
||||
// protoStruct implements proto.Message.
|
||||
type protoStruct struct {
|
||||
Payload string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
||||
}
|
||||
@ -23,7 +23,7 @@ func (m *protoStruct) Reset() { *m = protoStruct{} }
|
||||
func (m *protoStruct) String() string { return proto.CompactTextString(m) }
|
||||
func (*protoStruct) ProtoMessage() {}
|
||||
|
||||
// safeBuffer throws away everything and wont Read data back
|
||||
// safeBuffer throws away everything and wont Read data back.
|
||||
type safeBuffer struct {
|
||||
sync.RWMutex
|
||||
buf []byte
|
||||
|
Reference in New Issue
Block a user