confirm casing

This commit is contained in:
Hayden 2022-09-03 19:27:02 -08:00
parent e159087e5f
commit 687282ca68
4 changed files with 54 additions and 17 deletions

View file

@ -20,7 +20,7 @@ type app struct {
services *services.AllServices
}
func NewApp(conf *config.Config) *app {
func new(conf *config.Config) *app {
s := &app{
conf: conf,
}
@ -36,7 +36,7 @@ func NewApp(conf *config.Config) *app {
return s
}
func (a *app) StartBgTask(t time.Duration, fn func()) {
func (a *app) startBgTask(t time.Duration, fn func()) {
for {
a.server.Background(fn)
time.Sleep(t)