csvimport

package
v0.0.0-...-c38abf2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentHash

func ContentHash(date time.Time, description string, amountCents int64, account string) string

ContentHash returns a stable SHA256 hash for deduplication purposes. Normalized (lowercase, trimmed) to be stable across minor Buxfer export variations.

func ImportFile

func ImportFile(path string, database *db.DB) (model.ImportResult, error)

ImportFile parses a Buxfer CSV file and inserts rows into the DB.

func ImportReader

func ImportReader(r io.Reader, name string, database *db.DB) (model.ImportResult, error)

ImportReader is the testable version of ImportFile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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