github.com/attic-labs/noms@v0.0.0-20210827224422-e5fa29d95e8b/samples/go/csv/README.md (about)

     1  # CSV Importer
     2  
     3  Imports a CSV file as `List<T>` where `T` is a struct with fields corresponding to the CSV's column headers. The struct spec can also be set manually with the `-header` flag.
     4  
     5  ## Usage
     6  
     7  ```shell
     8  $ cd csv-import
     9  $ go build
    10  $ ./csv-import <PATH> http://localhost:8000::foo
    11  ```
    12  
    13  ## Some places for CSV files
    14  
    15  - https://data.cityofnewyork.us/api/views/kku6-nxdu/rows.csv?accessType=DOWNLOAD
    16  - http://www.opendatacache.com/
    17  
    18  # CSV Exporter
    19  
    20  Export a dataset in CSV format to stdout with column headers.
    21  
    22  ## Usage
    23  
    24  ```shell
    25  $ cd csv-export
    26  $ go build
    27  $ ./csv-export http://localhost:8000:foo
    28  ```