delve/_fixtures/testenv.go

14 lines
157 B
Go
Raw Normal View History

package main
import (
"fmt"
"os"
"runtime"
)
func main() {
x, y := os.LookupEnv("SOMEVAR")
runtime.Breakpoint()
fmt.Printf("SOMEVAR=%s\n%v", x, y)
}