Commit Graph

22 Commits

Author SHA1 Message Date
Samuel Hawksby-Robinson 2df33fe301
Bug fix on isValidFile 2021-03-05 23:24:36 +00:00
Samuel Hawksby-Robinson 2b438d3578
Added getter functionality and dynamic file type handler
Much more work to be done, but using getter will be a helpful improvement as it guarantees that the code base files will be there unless the repo source is invalid. Dynamic file types is the first step in making the code able to handle multiple languages.
2021-03-05 23:17:17 +00:00
Samuel Hawksby-Robinson 2be93c6c58
Added additional todo item 2021-03-05 15:21:01 +00:00
Samuel Hawksby-Robinson 715a868281
Updated project todos and go fmt 2021-01-07 12:57:18 +00:00
Samuel Hawksby-Robinson d0d6297b7d
Added README and sample output 2021-01-07 12:53:31 +00:00
Samuel Hawksby-Robinson f75d63451b
Resolved bug with recursive toString, added Markdown() func 2021-01-07 12:26:53 +00:00
Samuel Hawksby-Robinson 0d546db344
Begin implementing the stringer for the todo node tree 2021-01-06 17:26:03 +00:00
Samuel Hawksby-Robinson 2e514a4d9c
Moved TodoFinder.init() to NewTodoFinder func to ensure init is not forgotten 2021-01-06 17:10:58 +00:00
Samuel Hawksby-Robinson 4723f2f47d
Moved node code into dedicated node file 2021-01-06 17:08:15 +00:00
Samuel Hawksby-Robinson 9792ef33d2
Made all compiled regex a field of TodoFinder
This prevents the application from needing to constantly recompiling the same regex patterns over and over
2021-01-06 16:59:11 +00:00
Samuel Hawksby-Robinson b397566aaf
More refactor to move state to be handled by dedicated entities 2021-01-06 16:47:34 +00:00
Samuel Hawksby-Robinson ce7a0f5a38
Moved code out from main into relevant files 2021-01-06 16:38:12 +00:00
Samuel Hawksby-Robinson 41a7931c83
Fixed broken functionality implemented better todo adding 2021-01-06 16:29:03 +00:00
Samuel Hawksby-Robinson 602a263f55
BROKEN - This commit breaks the original functionality, but introduces an effective method of representing found todos in both a table and tree format. 2021-01-06 14:41:25 +00:00
Samuel Hawksby-Robinson 2e275015c3
go fmt 2021-01-05 14:44:31 +00:00
Samuel Hawksby-Robinson 455b5565d8
Implemented code entity tracking
Basically this functionally keeps track of what function or struct the reader is currently in and uses this information to populate any new todo{}
2021-01-05 14:43:12 +00:00
Samuel Hawksby-Robinson 517ca459de
Get additional lines of a todo 2021-01-05 13:23:07 +00:00
Samuel Hawksby-Robinson 6f464f6700
Some minor tidy up 2021-01-05 12:06:41 +00:00
Samuel Hawksby-Robinson 0b0da98b73
Implemented getting line number 2021-01-05 11:44:48 +00:00
Samuel Hawksby-Robinson 5265f5c988
Added dynamic keywords 2021-01-05 11:16:34 +00:00
Samuel Hawksby-Robinson 093d6879d0
Replaced main found map with struct slice to keep discovery order 2021-01-05 00:13:06 +00:00
Samuel Hawksby-Robinson d8c006bf39
Basic functionality that inspects a dir for go files, extracting todos 2021-01-04 23:53:22 +00:00