chore: changes to salty service

This commit is contained in:
Jon Lundy committed 2022-10-25 16:11:28 -06:00
1 parent e118d06985
commit 7ae2a8ad25
10 files changed
+74 -125

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ func (lis Events) Last() Event {
return lis[len(lis)-1]
}
func TypeOf(e Event) string {
func TypeOf(e any) string {
if ie, ok := e.(interface{ UnwrapEvent() Event }); ok {
e = ie.UnwrapEvent()
}