Added support for remote0
This commit is contained in:
14
examples/bench/main.go
Normal file
14
examples/bench/main.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func main() {
|
||||
_, filename, _, _ := runtime.Caller(0)
|
||||
fmt.Println("Current test filename: " + filename)
|
||||
os.Chdir(filepath.Dir(filename))
|
||||
}
|
||||
Reference in New Issue
Block a user