csv

package
v0.0.0-...-52415ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package csv provides utility functions to deal with csvs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSVToMap

func CSVToMap(reader io.Reader) []map[string]string

CSVToMap converts a csv file to a slice of maps

func EncodeCSV

func EncodeCSV(columns []string, rows []map[string]string, writer io.Writer) (err error)

EncodeCSV encodes slice of maps to a csv file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL