package
0.0.0-20220308170854-f83cb7a5233c
Repository: https://github.com/m-lab/annotation-service.git
Documentation: pkg.go.dev

# Functions

CreateZipReader reads a file from GCS and wraps it in a zip.Reader.
FindFile searches through the zip file for the filen named fn.
GetGzBase extracts basename, such as "20140307T160000Z-GeoLiteCity.dat" from "Maxmind/2014/03/07/20140307T160000Z-GeoLiteCity.dat.gz" KZ: moved from legacy package here.
NewCSVReader initializes a new CSV reader.
UncompressGzFile reads a .gz file from GCS and write it to a local file.

# Variables

Loader errors.
Loader errors.
Loader errors.

# Structs

CSVReader reads the CSV and uses the CSVRecordConsumer interface to coordinate the parsing.

# Interfaces

CSVRecordConsumer interface enables the abstraction of loading CSV files.