diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-04-26 18:39:55 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-04-26 18:39:55 +0200 |
commit | f4d0387f9ec190caab96b952762bc999d1ad63aa (patch) | |
tree | a906f4ce10e7f6b7a9e35cfd9a5b3c683b54cb52 /skate/cmd/skate-map | |
parent | faea941faff358802a8950af54d05ac88264b8f3 (diff) | |
download | refcat-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.go | 2 |
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, |