~kdsch/invoicer

07556954967101cec5cb1cf57077f55930120c38 — Karl Schultheisz 4 years ago 6e9e4ec
fix some inconsistent whitespace
1 files changed, 2 insertions(+), 2 deletions(-)

M db.go
M db.go => db.go +2 -2
@@ 71,7 71,7 @@ func findPartyByID(id uuid.UUID, db *sql.DB) (p party, err error) {
func (p party) insert(db *sql.DB) error {
	const insertParty = `
	insert into parties
				 (id, code, company, name, address, city, state, zip, phone, email)
	       (id, code, company, name, address, city, state, zip, phone, email)
	values (?,  ?,    ?,       ?,    ?,       ?,    ?,     ?,   ?,     ?    )`

	_, err := db.Exec(insertParty,


@@ 103,7 103,7 @@ func (i invoice) insert(db *sql.DB) error {
	const insertInvoice = `
	insert into invoices
	       (id, date, customer_party_id, seller_party_id, summary)
	values (?,  ?,    ?,              ?,               ?      )`
	values (?,  ?,    ?,                 ?,               ?      )`

	_, err = db.Exec(insertInvoice,
		i.Number,