Documentation ¶ Index ¶ type CSVRepo func NewCSVRepo(filePath string) *CSVRepo func (c *CSVRepo) Create(p models.Person) error func (c *CSVRepo) Delete(domain string) error func (c *CSVRepo) ReadAll() ([]models.Person, error) func (c *CSVRepo) Update(p models.Person) error 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 Source Files ¶ View all Source files csv.go Click to show internal directories. Click to hide internal directories.