aboutsummaryrefslogtreecommitdiff
path: root/server/database/database.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-27 21:32:25 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-27 21:32:25 +0530
commit8187f8db90c5d301f9a8304fc954588167833695 (patch)
treea61a1331610c267c61243bd334277d3b05508c13 /server/database/database.go
parent3899d8c17dc5eb1dc0d03e6f25d29bda2878a5ff (diff)
created a package to talk with a database but it only prints hello...
Diffstat (limited to 'server/database/database.go')
-rw-r--r--server/database/database.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/server/database/database.go b/server/database/database.go
new file mode 100644
index 0000000..3e60311
--- /dev/null
+++ b/server/database/database.go
@@ -0,0 +1,22 @@
+/*
+ * OpenBills - Self hosted browser app to generate and keep track of simple invoices
+ * Version - 0
+ * Licensed under the MIT license - https://opensource.org/licenses/MIT
+ *
+ * Copyright (c) 2021 Vidhu Kant Sharma
+*/
+
+// Idk how databases work
+// this package is supposed to handle the sqlite database
+// will figure that out
+
+package database
+
+import (
+ "fmt"
+)
+
+// very important function that fucking needed a new package
+func SayHello() {
+ fmt.Println("Hello")
+}