diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-21 21:38:23 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-21 21:38:23 +0200 |
commit | f11aa899c7a4bb0ffca72dacdafff422c435c1f1 (patch) | |
tree | cdd04bed380b80dbc5bd4961957c570b4e48583b /skate/cmd | |
parent | ff07890fa0fd068bb6614d9f366572d6ce04caf6 (diff) | |
download | refcat-f11aa899c7a4bb0ffca72dacdafff422c435c1f1.tar.gz refcat-f11aa899c7a4bb0ffca72dacdafff422c435c1f1.zip |
more inline docs
Diffstat (limited to 'skate/cmd')
-rw-r--r-- | skate/cmd/skate-cdx-lookup/main.go | 1 | ||||
-rw-r--r-- | skate/cmd/skate-map/main.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/skate/cmd/skate-cdx-lookup/main.go b/skate/cmd/skate-cdx-lookup/main.go index 0578098..a6fc5f9 100644 --- a/skate/cmd/skate-cdx-lookup/main.go +++ b/skate/cmd/skate-cdx-lookup/main.go @@ -51,7 +51,6 @@ func main() { log.Fatal(err) } line = strings.TrimSpace(line) - if !cache.Has(line) { _, b, err := skate.LookupCDX(line) if err != nil { diff --git a/skate/cmd/skate-map/main.go b/skate/cmd/skate-map/main.go index 3682e7b..6f3acb9 100644 --- a/skate/cmd/skate-map/main.go +++ b/skate/cmd/skate-map/main.go @@ -65,7 +65,7 @@ var ( func main() { flag.Parse() availableMappers := map[string]skate.Mapper{ - // Add new mapper functions here. + // Add new mapper functions here. TODO: add more docs. "id": skate.Identity, "ff": skate.CreateFixedMapper(*extraValue), "ti": skate.MapperTitle, |