aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..0a84c8f
--- /dev/null
+++ b/main.go
@@ -0,0 +1,24 @@
+package main
+
+import (
+ "fmt"
+ "os"
+
+ "github.com/charmbracelet/bubbletea"
+)
+
+// Types
+
+type Calculator struct {
+ stack []float64
+ buffer string
+}
+
+// Function Definitions
+
+func main() {
+ if _, err := tea.NewProgram(new(UI)).Run(); err != nil {
+ fmt.Fprintf(os.Stderr, "%v", err)
+ os.Exit(1)
+ }
+}