refactor handlers and add search for tags

This commit is contained in:
sentriz
2019-05-30 14:52:39 +01:00
parent 5ec28c44f2
commit 2044b7faf5
9 changed files with 160 additions and 124 deletions

View File

@@ -17,9 +17,6 @@ func TestFirstExisting(t *testing.T) {
{"first missing",
[]string{"", "two", "three"}, "default",
"two"},
{"middle missing",
[]string{"", "two", ""}, "default",
"two"},
{"all missing",
[]string{"", "", ""}, "default",
"default"},