Source: Index | Files

package csv

import ""


Package Files


func GenerateHomogeneousGrid Uses

func GenerateHomogeneousGrid(slice []structs.Star2D, left int, right int, step int) []structs.Star2D

Generate a homogeneous Grid

func Import Uses

func Import(path string, start int, end int, slice []structs.Star2D) []structs.Star2D

Import gets a file, a starting line, an ending line and a struct. It then adds the content of the file to the struct For finding the length of the .csv, you can use the following command in linux: $ cat <csv> | wc -l

Package csv imports 5 packages (graph) and is imported by 1 packages. Updated 2019-04-08. Refresh now. Tools for package owners.