diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,12 @@ import ( ) func main() { + cwd, err := os.Getwd() + if err != nil { + log.Fatal(err) + } + fmt.Printf("Current working directory: %s\n", cwd) + for { fmt.Println(getUpdate()) } |