mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 04:13:26 +00:00 
			
		
		
		
	Fixed delve dependency
This commit is contained in:
		@@ -28,11 +28,11 @@ import (
 | 
			
		||||
	"github.com/beego/bee/cmd/commands/version"
 | 
			
		||||
	beeLogger "github.com/beego/bee/logger"
 | 
			
		||||
	"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/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{
 | 
			
		||||
@@ -43,7 +43,7 @@ var cmdDlv = &commands.Command{
 | 
			
		||||
 | 
			
		||||
  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() },
 | 
			
		||||
	Run:    runDlv,
 | 
			
		||||
 
 | 
			
		||||
@@ -57,7 +57,7 @@ Prints the current Bee, Beego and Go version alongside the platform information.
 | 
			
		||||
}
 | 
			
		||||
var outputFormat string
 | 
			
		||||
 | 
			
		||||
const version = "1.10.0"
 | 
			
		||||
const version = "1.10.1"
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	fs := flag.NewFlagSet("version", flag.ContinueOnError)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user