New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add basic test(s) #4
Conversation
|
||
func GetWordDoc(path string) (doc *docx.Docx) { | ||
doc = new(docx.Docx) | ||
doc.ReadFile(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return the error from reading the file
just a few things |
|
||
content := roleCell.Content() | ||
// TODO remove hard-coding | ||
content += " {{getResponsibleRole \"NIST-800-53\" \"AC-2 (1)\"}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This (reported in Code Climate) will be fixed by #8.
Updated! |
Run https://github.com/golang/lint too. |
Taken care of by #6. |
Going to keep going with adding more! If this looks ok, I say we merge it, and I can send separate/smaller PRs as follow up.