moving stuff around, stubbing interfaces

This commit is contained in:
tsmethurst
2021-03-09 17:03:40 +01:00
parent 338af00e7b
commit 9a79d176c9
11 changed files with 114 additions and 67 deletions

View File

@ -26,7 +26,7 @@ import (
"github.com/gotosocial/gotosocial/internal/config"
"github.com/gotosocial/gotosocial/internal/db"
"github.com/gotosocial/gotosocial/internal/log"
"github.com/gotosocial/gotosocial/internal/server"
"github.com/gotosocial/gotosocial/internal/gotosocial"
"github.com/sirupsen/logrus"
"github.com/urfave/cli/v2"
@ -105,7 +105,7 @@ func main() {
Name: "start",
Usage: "start the gotosocial server",
Action: func(c *cli.Context) error {
return runAction(c, server.Run)
return runAction(c, gotosocial.Run)
},
},
},