mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-23 04:01:45 +03:00
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:
@@ -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++
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user