modify project name

This commit is contained in:
MaysWind
2021-04-11 22:51:22 +08:00
parent f16eb8b28e
commit 62a825439f
98 changed files with 364 additions and 355 deletions
+4 -4
View File
@@ -3,15 +3,15 @@ package cmd
import (
"github.com/urfave/cli/v2"
"github.com/mayswind/lab/pkg/datastore"
"github.com/mayswind/lab/pkg/log"
"github.com/mayswind/lab/pkg/models"
"github.com/mayswind/ezbookkeeping/pkg/datastore"
"github.com/mayswind/ezbookkeeping/pkg/log"
"github.com/mayswind/ezbookkeeping/pkg/models"
)
// Database represents the database command
var Database = &cli.Command{
Name: "database",
Usage: "lab database maintenance",
Usage: "ezBookkeeping database maintenance",
Subcommands: []*cli.Command{
{
Name: "update",
+6 -6
View File
@@ -6,12 +6,12 @@ import (
"github.com/urfave/cli/v2"
"github.com/mayswind/lab/pkg/datastore"
"github.com/mayswind/lab/pkg/exchangerates"
"github.com/mayswind/lab/pkg/log"
"github.com/mayswind/lab/pkg/settings"
"github.com/mayswind/lab/pkg/utils"
"github.com/mayswind/lab/pkg/uuid"
"github.com/mayswind/ezbookkeeping/pkg/datastore"
"github.com/mayswind/ezbookkeeping/pkg/exchangerates"
"github.com/mayswind/ezbookkeeping/pkg/log"
"github.com/mayswind/ezbookkeeping/pkg/settings"
"github.com/mayswind/ezbookkeeping/pkg/utils"
"github.com/mayswind/ezbookkeeping/pkg/uuid"
)
func initializeSystem(c *cli.Context) (*settings.Config, error) {
+4 -4
View File
@@ -5,15 +5,15 @@ import (
"github.com/urfave/cli/v2"
clis "github.com/mayswind/lab/pkg/cli"
"github.com/mayswind/lab/pkg/log"
"github.com/mayswind/lab/pkg/utils"
clis "github.com/mayswind/ezbookkeeping/pkg/cli"
"github.com/mayswind/ezbookkeeping/pkg/log"
"github.com/mayswind/ezbookkeeping/pkg/utils"
)
// UserData represents the data command
var UserData = &cli.Command{
Name: "userdata",
Usage: "lab user data maintenance",
Usage: "ezBookkeeping user data maintenance",
Subcommands: []*cli.Command{
{
Name: "user-add",
+11 -11
View File
@@ -12,25 +12,25 @@ import (
"github.com/mssola/user_agent"
"github.com/urfave/cli/v2"
"github.com/mayswind/lab/pkg/api"
"github.com/mayswind/lab/pkg/core"
"github.com/mayswind/lab/pkg/errs"
"github.com/mayswind/lab/pkg/log"
"github.com/mayswind/lab/pkg/middlewares"
"github.com/mayswind/lab/pkg/requestid"
"github.com/mayswind/lab/pkg/settings"
"github.com/mayswind/lab/pkg/utils"
"github.com/mayswind/lab/pkg/validators"
"github.com/mayswind/ezbookkeeping/pkg/api"
"github.com/mayswind/ezbookkeeping/pkg/core"
"github.com/mayswind/ezbookkeeping/pkg/errs"
"github.com/mayswind/ezbookkeeping/pkg/log"
"github.com/mayswind/ezbookkeeping/pkg/middlewares"
"github.com/mayswind/ezbookkeeping/pkg/requestid"
"github.com/mayswind/ezbookkeeping/pkg/settings"
"github.com/mayswind/ezbookkeeping/pkg/utils"
"github.com/mayswind/ezbookkeeping/pkg/validators"
)
// WebServer represents the server command
var WebServer = &cli.Command{
Name: "server",
Usage: "lab web server operation",
Usage: "ezBookkeeping web server operation",
Subcommands: []*cli.Command{
{
Name: "run",
Usage: "Run lab web server",
Usage: "Run ezBookkeeping web server",
Action: startWebServer,
},
},