mirror of
https://github.com/beego/bee.git
synced 2024-11-25 15:00:55 +00:00
Fixed delve dependency
This commit is contained in:
parent
10bb0454f6
commit
33dd897647
@ -28,11 +28,11 @@ import (
|
|||||||
"github.com/beego/bee/cmd/commands/version"
|
"github.com/beego/bee/cmd/commands/version"
|
||||||
beeLogger "github.com/beego/bee/logger"
|
beeLogger "github.com/beego/bee/logger"
|
||||||
"github.com/beego/bee/utils"
|
"github.com/beego/bee/utils"
|
||||||
"github.com/derekparker/delve/pkg/terminal"
|
|
||||||
"github.com/derekparker/delve/service"
|
|
||||||
"github.com/derekparker/delve/service/rpc2"
|
|
||||||
"github.com/derekparker/delve/service/rpccommon"
|
|
||||||
"github.com/fsnotify/fsnotify"
|
"github.com/fsnotify/fsnotify"
|
||||||
|
"github.com/go-delve/delve/pkg/terminal"
|
||||||
|
"github.com/go-delve/delve/service"
|
||||||
|
"github.com/go-delve/delve/service/rpc2"
|
||||||
|
"github.com/go-delve/delve/service/rpccommon"
|
||||||
)
|
)
|
||||||
|
|
||||||
var cmdDlv = &commands.Command{
|
var cmdDlv = &commands.Command{
|
||||||
@ -43,7 +43,7 @@ var cmdDlv = &commands.Command{
|
|||||||
|
|
||||||
To debug your application using Delve, use: {{"$ bee dlv" | bold}}
|
To debug your application using Delve, use: {{"$ bee dlv" | bold}}
|
||||||
|
|
||||||
For more information on Delve: https://github.com/derekparker/delve
|
For more information on Delve: https://github.com/go-delve/delve
|
||||||
`,
|
`,
|
||||||
PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() },
|
PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() },
|
||||||
Run: runDlv,
|
Run: runDlv,
|
||||||
|
@ -57,7 +57,7 @@ Prints the current Bee, Beego and Go version alongside the platform information.
|
|||||||
}
|
}
|
||||||
var outputFormat string
|
var outputFormat string
|
||||||
|
|
||||||
const version = "1.10.0"
|
const version = "1.10.1"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
fs := flag.NewFlagSet("version", flag.ContinueOnError)
|
fs := flag.NewFlagSet("version", flag.ContinueOnError)
|
||||||
|
Loading…
Reference in New Issue
Block a user