From 3951f8c09b3f49253cf0d354df708069223d0316 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 23 Jul 2023 12:24:32 -0230 Subject: constant and function parsing skeleton --- main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 0a84c8f..78f4665 100644 --- a/main.go +++ b/main.go @@ -7,14 +7,12 @@ import ( "github.com/charmbracelet/bubbletea" ) -// Types - type Calculator struct { - stack []float64 + stack Stack buffer string } -// Function Definitions +type Stack []float64 func main() { if _, err := tea.NewProgram(new(UI)).Run(); err != nil { -- cgit v1.2.3