about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2018-10-31 16:26:22 +0100
committerhanemile <hanemile@protonmail.com>2018-10-31 16:26:22 +0100
commita202641c78c69b64501b1779ae743906a3b2160f (patch)
treec2d7436665aa26091506eb5f18ce7798860d1b0e
parent8ef45d1193554c3d7b37b234003043e0b7ec68db (diff)
updated amount of stars
-rw-r--r--.idea/vcs.xml6
-rw-r--r--generate.go2
2 files changed, 7 insertions, 1 deletions
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/generate.go b/generate.go
index 8701e20..0059ca3 100644
--- a/generate.go
+++ b/generate.go
@@ -116,7 +116,7 @@ func main() {
 	// create a file that stores the data
 	hostname, _ := os.Hostname()
 	pid := os.Getpid()
-	f, err := os.Create(fmt.Sprintf("%s_%d.csv", hostname, pid))
+	f, err := os.Create(fmt.Sprintf("data/%s_%d.csv", hostname, pid))
 	if err != nil {
 		panic(err)
 	}