csv

package
v0.0.0-...-d9d29f0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package csv specifies functions and structs for writing dictionaries to single csv file

Index

Constants

View Source
const (
	// SlicesHeader defines the default header for exported CSV file
	SlicesHeader = "code \\ language"
)

Variables

This section is empty.

Functions

func ReadCSVFile

func ReadCSVFile(path string) (dicts general.Dictionaries, err error)

ReadCSVFile reads and unmarshals all words from the given csv file and converts to the set of dictionaries

func WriteCSVFile

func WriteCSVFile(path string, dicts general.Dictionaries) (file *os.File, err error)

WriteCSVFile writes the given set of dictionaries to the 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