Skip to content

Commit

Permalink
Add version 0.1.1 initial version
Browse files Browse the repository at this point in the history
Signed-off-by: William <[email protected]>
  • Loading branch information
kwesidev committed Mar 12, 2024
1 parent 3339d29 commit cb2da0c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/speedy_auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ import (

var databaseConnection *sql.DB

const SERVER_VERSION = "0.1.1"

// initializes the database connections and other connections
func initialize() {

err := godotenv.Load()
if err != nil {
log.Println("Not loading Config from .env")
Expand Down Expand Up @@ -49,7 +52,7 @@ func initialize() {
// if err := m.Up(); err != nil {
// log.Fatal(err)
// }

log.Println("Server Version :", SERVER_VERSION)
asciiArt := `
███████ ██████ ███████ ███████ ██████ ██ ██ █████ ██ ██ ████████ ██ ██
Expand All @@ -61,6 +64,8 @@ func initialize() {
`
log.Println(asciiArt)

log.Println("")
}
func main() {
initialize()
Expand Down

0 comments on commit cb2da0c

Please sign in to comment.