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:
parent
b587f5acfd
commit
f56eb1cf1f
36
main.go
36
main.go
@ -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"
|
||||||
|
|
||||||