aboutsummaryrefslogtreecommitdiff
path: root/tools/importer/filter.go
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-09 01:32:58 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-09 01:32:58 (UTC)
commitdb4bd8185f7283420b3f60fc561b1b8e4f97b3b9 (patch)
tree8d2668571d5391ae4f202e6b97d1de7d61f548ad /tools/importer/filter.go
parent5997487fc5cc2126fb5afa12b75b67f3985e11d2 (diff)
Traits in die Datenbank importieren
Diffstat (limited to 'tools/importer/filter.go')
-rw-r--r--tools/importer/filter.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/importer/filter.go b/tools/importer/filter.go
new file mode 100644
index 0000000..5a6c315
--- /dev/null
+++ b/tools/importer/filter.go
@@ -0,0 +1,13 @@
1package main
2
3func filterTags(tag string) string {
4 return tag
5}
6
7func filterTraits(trait string) string {
8 switch trait {
9 case "ID":
10 return ""
11 }
12 return trait
13}