some pre-factoring and small fixes (#58)

* organize into multiple files
* make listing methods show fully-qualified names
* address small feedback from recent change (trim then check if empty)
This commit is contained in:
Joshua Humphries
2018-10-18 23:51:38 -04:00
committed by GitHub
parent 69ea782936
commit 9a4bbacdd6
5 changed files with 644 additions and 613 deletions

View File

@@ -566,10 +566,11 @@ func prettify(docString string) string {
// from each line in the doc string
j := 0
for _, part := range parts {
part = strings.TrimSpace(part)
if part == "" {
continue
}
parts[j] = strings.TrimSpace(part)
parts[j] = part
j++
}