code refactor

This commit is contained in:
MaysWind
2020-12-23 01:24:44 +08:00
parent 62ef7cbcbe
commit b3962e8af9
35 changed files with 256 additions and 255 deletions
+2 -2
View File
@@ -9,13 +9,13 @@ import (
"github.com/mayswind/lab/cmd"
)
const LAB_VERSION = "0.1.0"
const labVersion = "0.1.0"
func main() {
app := &cli.App{
Name: "lab",
Usage: "A lightweight account book app hosted by yourself.",
Version: LAB_VERSION,
Version: labVersion,
Commands: []*cli.Command{
cmd.WebServer,
cmd.Database,