Commit 084fdcb

Richard Luby <richluby@gmail.com>
2016-10-28 07:23:11
added ID field to record structure
on record load, if no ID exists, program should generate unique ID.
1 parent fc2377c
clientConf.conf
@@ -0,0 +1,3 @@
+SERVER = "127.0.0.1"
+PORT = 8080
+USE_HTTPS = false
configuration.conf
@@ -0,0 +1,7 @@
+LISTEN_ADDRESS = "127.0.0.1"
+LISTEN_PORT = 8080
+PERMIT_BLANK_PASSWORD = true
+USE_HTTPS = false
+PRIVATE_KEY = "/path/to/https/key"
+# QUESTIONS may be a file or a directory containing only csv files
+QUESTIONS = "/Users/RLuby/dev/golang/src/richluby/questioner/corpus/"
structures.go
@@ -21,4 +21,5 @@ type Record struct {
 	Question,
 	Answer,
 	Category string
+	ID int
 }