Removing Globals

Globals are no longer needed instead I am connecting each part with (
what were previously ) globals. Also Renaming SetRenderer to
ConnectRenderer which describes the name more precisely
This commit is contained in:
aditya-K2 2021-12-23 20:20:27 +05:30
parent b587f5acfd
commit f56eb1cf1f
2 changed files with 16 additions and 25 deletions

36
main.go
View File

@ -1,10 +1,11 @@
package main package main
import ( import (
"github.com/aditya-K2/gomp/ui/notify"
"strconv" "strconv"
"time" "time"
"github.com/aditya-K2/gomp/ui/notify"
"github.com/aditya-K2/gomp/render" "github.com/aditya-K2/gomp/render"
"github.com/aditya-K2/gomp/ui" "github.com/aditya-K2/gomp/ui"