mirror of https://github.com/beego/bee.git
fix merge
This commit is contained in:
parent
92de521f36
commit
8ebc0adfd1
|
@ -41,14 +41,6 @@ func GetBeeWorkPath() string {
|
|||
return beePath
|
||||
}
|
||||
|
||||
func GetBeeWorkPath() string {
|
||||
beePath, err := filepath.Abs(filepath.Dir(os.Args[0]))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return beePath
|
||||
}
|
||||
|
||||
// Go is a basic promise implementation: it wraps calls a function in a goroutine
|
||||
// and returns a channel which will later return the function's return value.
|
||||
func Go(f func() error) chan error {
|
||||
|
|
Loading…
Reference in New Issue