summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index ae97800..5ddc386 100644
--- a/main.go
+++ b/main.go
@@ -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())
}