diff options
Diffstat (limited to 'pkg/eventchannel/event_any.go')
-rw-r--r-- | pkg/eventchannel/event_any.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/eventchannel/event_any.go b/pkg/eventchannel/event_any.go index 13f300061..b708937a4 100644 --- a/pkg/eventchannel/event_any.go +++ b/pkg/eventchannel/event_any.go @@ -26,3 +26,8 @@ import ( func newAny(m proto.Message) (*anypb.Any, error) { return anypb.New(m) } + +func emptyAny() *anypb.Any { + var any anypb.Any + return &any +} |