Skip to content
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

Added go-doc comments to exported functions #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CodeLingoTeam
Copy link
Owner

@CodeLingoTeam CodeLingoTeam commented Mar 15, 2019

Hi @fumin et al!

Since you merged we thought we'd see what else CodeLingo could do for you.

The fix (which I found with this tenet) just makes sure all exported functions are commented in the go-doc style. While this is a small issue it demonstrates how CodeLingo can be used to find hundreds of instances of an issue across multiple files in seconds, so nothing slips through the cracks.

Here's the full list of exported functions that i found using the CodeLingo review flow with just this one tenet.

unit.go#L13
ntm_test.go#L8
addressing_test.go#L19
cntl1.go#L243
cntl1.go#L105
cntl1.go#L129
cntl1.go#L97
cntl1.go#L239
cntl1.go#L133
cntl1.go#L188
cntl1.go#L101
cntl1.go#L93
cntl1.go#L214
cntl1.go#L125
cntl1.go#L218
cntl1.go#L137
cntl1.go#L210
cntl1.go#L235
ntm.go#L39
ntm.go#L66
ntm.go#L419
ntm.go#L294
ntm.go#L325
ntm.go#L315
ntm.go#L75
ntm.go#L84
ntm.go#L93
ntm.go#L48
ntm.go#L57
ntm.go#L286
cntl1_test.go#L69
cntl1_test.go#L9
cntl1_test.go#L38
addressing.go#L321
addressing.go#L202
addressing.go#L41
addressing.go#L527
addressing.go#L145
addressing.go#L111
addressing.go#L78
addressing.go#L492
addressing.go#L291
ngram/ngram.go#L43
ngram/ngram.go#L18
copytask/copytask.go#L7
poem/poem.go#L106
poem/poem.go#L49
poem/poem.go#L29
poem/poem.go#L122
poem/poem.go#L166
poem/poem.go#L131
poem/poem.go#L112
poem/poem.go#L118
ntm.go#L61
poem/poem.go#L158
ntm.go#L70
poem/poem.go#L164
ntm.go#L52
poem/poem.go#L165
ntm.go#L79
ntm.go#L88
repeatcopy/repeatcopy.go#L18
repeatcopy/repeatcopy.go#L77
ntm.go#L61
ntm.go#L70
ntm.go#L52
ntm.go#L79
ntm.go#L88
repeatcopy/repeatcopy.go#L18
repeatcopy/repeatcopy.go#L77

So you can hopefully see, CodeLingo is quite flexible. What bugs would you be keen to see us squash? We've got a tiny form to capture bug fixing ideas if you come up with any 😄

Thanks,
Callan

@fumin
Copy link

fumin commented Mar 15, 2019

Hi CodeLingo Team

Thanks for this pull request, it looks good to me.
Additionally, I also find your Natural Language system quite fun and proficient. This is pretty cool : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants