Commit b55c35d

Richard Luby <richluby@gmail.com>
2017-01-26 07:09:58
adjusted categories to be stored as materialized paths
allows for fast, simple queries to db for category requests
1 parent b47cabc
Changed files (1)
command.go
@@ -234,7 +234,7 @@ func runTest(clientTest *ClientTest) {
 	displayStringToMainScreen("\n")
 	for i, record := range clientTest.Records {
 		displayStringToMainScreen(fmt.Sprintf("%d) [%s] %s\n", i+1,
-			COLOR_BLUE+categories[record.Category].FullCategoryPath()+COLOR_RESET,
+			COLOR_BLUE+record.Path+COLOR_RESET,
 			record.Question))
 		updateMainView()
 		readUserInputSemaphore.P() // released when user presses 'Enter'