From f058d62920e7c4c49efc7a3e62323652c472eb0f Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 26 Dec 2020 00:06:04 +0800 Subject: [PATCH] add comments --- cmd/database.go | 1 + cmd/webserver.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/database.go b/cmd/database.go index 791b5cfa..ead625ed 100644 --- a/cmd/database.go +++ b/cmd/database.go @@ -8,6 +8,7 @@ import ( "github.com/mayswind/lab/pkg/models" ) +// Database represents the database command var Database = &cli.Command{ Name: "database", Usage: "lab database maintenance", diff --git a/cmd/webserver.go b/cmd/webserver.go index 5e1233cf..7daba3f2 100644 --- a/cmd/webserver.go +++ b/cmd/webserver.go @@ -23,6 +23,7 @@ import ( "github.com/mayswind/lab/pkg/validators" ) +// WebServer represents the server command var WebServer = &cli.Command{ Name: "server", Usage: "lab web server operation",