forked from x/ContextOS
fix import err
This commit is contained in:
parent
33f1a41fc3
commit
1d42a86a2a
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ install:
|
|||||||
@go get github.com/gomarkdown/markdown
|
@go get github.com/gomarkdown/markdown
|
||||||
@go get github.com/PuerkitoBio/goquery
|
@go get github.com/PuerkitoBio/goquery
|
||||||
@go get github.com/go-cas/cas
|
@go get github.com/go-cas/cas
|
||||||
@go get github.com/gopkg.in/gomail.v2
|
@go get gopkg.in/gomail.v2
|
||||||
GOPATH=$(PWD):$(GOPATH) go install $(BENCH)
|
GOPATH=$(PWD):$(GOPATH) go install $(BENCH)
|
||||||
@date
|
@date
|
||||||
# bench web.code.counter nmake 1
|
# bench web.code.counter nmake 1
|
||||||
|
@ -146,7 +146,7 @@ var Index = &ctx.Context{Name: "cli", Help: "管理中心",
|
|||||||
"github.com/gomodule/redigo",
|
"github.com/gomodule/redigo",
|
||||||
"github.com/go-sql-driver/mysql",
|
"github.com/go-sql-driver/mysql",
|
||||||
"github.com/gomarkdown/markdown",
|
"github.com/gomarkdown/markdown",
|
||||||
"github.com/gopkg.in/gomail.v2",
|
"gopkg.in/gomail.v2",
|
||||||
"github.com/skip2/go-qrcode",
|
"github.com/skip2/go-qrcode",
|
||||||
"github.com/PuerkitoBio/goquery",
|
"github.com/PuerkitoBio/goquery",
|
||||||
"github.com/go-cas/cas",
|
"github.com/go-cas/cas",
|
||||||
@ -449,10 +449,8 @@ var Index = &ctx.Context{Name: "cli", Help: "管理中心",
|
|||||||
m.Gos(m, func(m *ctx.Message) {
|
m.Gos(m, func(m *ctx.Message) {
|
||||||
if e := cmd.Start(); e != nil {
|
if e := cmd.Start(); e != nil {
|
||||||
m.Echo("error: ").Echo("%s\n", e)
|
m.Echo("error: ").Echo("%s\n", e)
|
||||||
m.Log("fuck", "%v", e)
|
|
||||||
} else if e := cmd.Wait(); e != nil {
|
} else if e := cmd.Wait(); e != nil {
|
||||||
m.Echo("error: ").Echo("%s\n", e)
|
m.Echo("error: ").Echo("%s\n", e)
|
||||||
m.Log("fuck", "%v", e)
|
|
||||||
}
|
}
|
||||||
m.Conf("daemon", []string{h, "finish_time"}, time.Now().Format(m.Conf("time_format")))
|
m.Conf("daemon", []string{h, "finish_time"}, time.Now().Format(m.Conf("time_format")))
|
||||||
})
|
})
|
||||||
|
@ -4,5 +4,5 @@ var version = struct {
|
|||||||
host string
|
host string
|
||||||
self int
|
self int
|
||||||
}{
|
}{
|
||||||
"2019-07-02 22:32:30", "ZYB-20190522USI", 91,
|
"2019-07-02 23:37:53", "com", 92,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user