chore: changes to salty service

This commit is contained in:
Jon Lundy
2022-10-25 16:07:46 -06:00
parent e118d06985
commit 7ae2a8ad25
10 changed files with 74 additions and 125 deletions

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()
}