dataparser

package
v0.0.0-...-1869de2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: GPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(filename string) (*os.File, error)

Types

type Product

type Product struct {
	Name     string
	Category string
	Desc     string
}

func CSV

func CSV(f *os.File, hasHeader bool) ([]Product, error)

func File

func File(f *os.File) (Product, error)

Jump to

Keyboard shortcuts

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