Commit graph

4 commits

Author SHA1 Message Date
Thorben Günther
057b2e15f6
functions: Use slices package for sorting
From Go 1.21 release notes[1]:
New slices package for common operations on slices of any element type.
This includes sorting functions that are generally faster and more
ergonomic than the sort package.

[1]: https://go.dev/blog/go1.21
2023-08-11 13:50:53 +02:00
Thorben Günther
164e30b37d
Use slices.Contains from the standard library 2023-08-11 13:39:19 +02:00
Thorben Günther
5a8a85f0f9
Sort labels alphabetically
Closes: https://todo.xenrox.net/~xenrox/ntfy-alertmanager/13
2023-02-21 14:37:26 +01:00
Thorben Günther
2818ba9885
Support ntfy tags 2022-10-12 17:04:44 +02:00