Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaumoron committed Mar 25, 2024
1 parent c08e798 commit 53ecc7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ gosince <pkg> <sym>[.<methodOrField>]
}

if callGoDoc {
if err = runGoDoc(result[0]); err != nil {
splitted := strings.Split(result[0], " ")
if err = runGoDoc(splitted...); err != nil {
fmt.Println(err)
return
}
Expand Down

0 comments on commit 53ecc7b

Please sign in to comment.