feat: api 完成

master v0.0.2
icechen 2022-01-06 23:04:25 +08:00
parent fb2fddba93
commit 8e0900b21a
6 changed files with 8 additions and 8 deletions

6
api.go
View File

@ -2,12 +2,12 @@ package main
import (
"fmt"
"git.icechen.cn/pkg/wdt/util"
"git.icechen.cn/pkg/wujian_develop_tool/util"
"os"
"git.icechen.cn/pkg/wdt/template/api/deploy"
"git.icechen.cn/pkg/wujian_develop_tool/template/api/deploy"
"git.icechen.cn/pkg/wdt/template/api/docker/golang"
"git.icechen.cn/pkg/wujian_develop_tool/template/api/docker/golang"
"github.com/fatih/color"

View File

@ -1,7 +1,7 @@
package main
import (
"git.icechen.cn/pkg/wdt/util"
"git.icechen.cn/pkg/wujian_develop_tool/util"
"io/ioutil"
"github.com/urfave/cli/v2"

2
go.mod
View File

@ -1,4 +1,4 @@
module git.icechen.cn/pkg/wdt
module git.icechen.cn/pkg/wujian_develop_tool
go 1.17

View File

@ -2,7 +2,7 @@ package main
import (
"bytes"
"git.icechen.cn/pkg/wdt/util"
"git.icechen.cn/pkg/wujian_develop_tool/util"
)
type healthResp struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/fatih/color"
"git.icechen.cn/pkg/wdt/util"
"git.icechen.cn/pkg/wujian_develop_tool/util"
)
//go:embed "*"

View File

@ -5,7 +5,7 @@ import (
"github.com/fatih/color"
"git.icechen.cn/pkg/wdt/util"
"git.icechen.cn/pkg/wujian_develop_tool/util"
)
//go:embed "Dockerfile.tpl"