delve/_fixtures/testenv.go

14 lines
146 B
Go
Raw Normal View History

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