ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

Added type Kind #186

Closed scruzin closed 5 days ago

scruzin commented 6 days ago

This is a simple change to improve typesafe usage of the notify package, which is backwards compatible with clients, providing the kind is supplied as literal.

I considered making Kind an interface (modeled on Error), but that would not be backwards compatible. Further, it is not clear that Kind needs to be more than a string.