github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/_fixtures/workdir.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  )
     7  
     8  func main() {
     9  	pwd, err := os.Getwd()
    10  	if err != nil {
    11  		fmt.Println(err)
    12  		os.Exit(1)
    13  	}
    14  	fmt.Println(pwd)
    15  }