aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-map
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-04-26 18:39:55 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-04-26 18:39:55 +0200
commitf4d0387f9ec190caab96b952762bc999d1ad63aa (patch)
treea906f4ce10e7f6b7a9e35cfd9a5b3c683b54cb52 /skate/cmd/skate-map
parentfaea941faff358802a8950af54d05ac88264b8f3 (diff)
downloadrefcat-f4d0387f9ec190caab96b952762bc999d1ad63aa.tar.gz
refcat-f4d0387f9ec190caab96b952762bc999d1ad63aa.zip
rename FieldMapper to Mapper
In our context, we are for now only mapping a blob to a number of fields.
Diffstat (limited to 'skate/cmd/skate-map')
-rw-r--r--skate/cmd/skate-map/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-map/main.go b/skate/cmd/skate-map/main.go
index e72cc0c..ffe1017 100644
--- a/skate/cmd/skate-map/main.go
+++ b/skate/cmd/skate-map/main.go
@@ -25,7 +25,7 @@ var (
func main() {
flag.Parse()
// XXX: introduce prefixes
- availableMappers := map[string]skate.FieldMapper{
+ availableMappers := map[string]skate.Mapper{
"id": skate.Identity,
"ff": skate.CreateFixedMapper(*extraValue),
"title": skate.MapperTitle,