added float support and cleaner code

This commit is contained in:
ston1th 2017-07-09 20:04:05 +02:00
commit 0ebcd6967b
5 changed files with 208 additions and 159 deletions

View file

@ -36,7 +36,7 @@ var data = Filter{
{"str1", 42, true, Struct1{"s1", Struct2{1}}},
{"2str", 42, true, Struct1{"s2", Struct2{2}}},
{"str3", 42, false, Struct1{"s3", Struct2{3}}},
{":", 42, false, Struct1{"s3", Struct2{3}}},
{":*", 42, false, Struct1{"s3", Struct2{3}}},
}
func main() {