Skip to content

Instantly share code, notes, and snippets.

View dpb587-pivotal's full-sized avatar

Danny Berger dpb587-pivotal

  • San Francisco, CA
View GitHub Profile
diff --git a/handler/topic.go b/handler/topic.go
index 06c53adc..dcea8a9c 100644
--- a/handler/topic.go
+++ b/handler/topic.go
@@ -1,9 +1,25 @@
package handler
-type Topic string
+type Topic interface {
+ String() string