From 8187f8db90c5d301f9a8304fc954588167833695 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Tue, 27 Apr 2021 21:32:25 +0530 Subject: created a package to talk with a database but it only prints hello... --- server/database/database.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 server/database/database.go (limited to 'server/database') 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") +} -- cgit v1.2.3