cmd

package
v0.0.0-...-5c12987 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Unlicense Imports: 15 Imported by: 0

Documentation

Overview

Copyright © 2024 Lucas Faria hi@lucasfaria.dev

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type InvoiceData

type InvoiceData struct {
	InvoiceNumber  string
	InvoiceDate    string
	DueDate        string
	VendorInfo     string
	CustomerInfo   string
	PaymentMethod  string
	PaymentDetails string
	Items          []InvoiceItem
	Total          string
}

type InvoiceItem

type InvoiceItem struct {
	Description string
	Price       string
}

Jump to

Keyboard shortcuts

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