From 6f2f48eae133040aedb413c657721e044636683d Mon Sep 17 00:00:00 2001 From: Tony Chen Date: Sat, 20 Mar 2021 16:59:47 +0800 Subject: [PATCH] rename pubsub to event (#795) --- {pubsub => event}/README.md | 2 +- pubsub/pubsub.go => event/event.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {pubsub => event}/README.md (83%) rename pubsub/pubsub.go => event/event.go (98%) diff --git a/pubsub/README.md b/event/README.md similarity index 83% rename from pubsub/README.md rename to event/README.md index 7fa8a0a83..0cd0e59ed 100644 --- a/pubsub/README.md +++ b/event/README.md @@ -1,3 +1,3 @@ -# Pubsub +# Events * [Kafka](https://github.com/go-kratos/kafka) diff --git a/pubsub/pubsub.go b/event/event.go similarity index 98% rename from pubsub/pubsub.go rename to event/event.go index de6d5dd6a..993565d2c 100644 --- a/pubsub/pubsub.go +++ b/event/event.go @@ -1,4 +1,4 @@ -package pubsub +package event import ( "context"