csv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVRepo

type CSVRepo struct {
	// contains filtered or unexported fields
}

func NewCSVRepo

func NewCSVRepo(filePath string) *CSVRepo

func (*CSVRepo) Create

func (c *CSVRepo) Create(p models.Person) error

func (*CSVRepo) Delete

func (c *CSVRepo) Delete(domain string) error

func (*CSVRepo) ReadAll

func (c *CSVRepo) ReadAll() ([]models.Person, error)

func (*CSVRepo) Update

func (c *CSVRepo) Update(p models.Person) error

Jump to

Keyboard shortcuts

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