diff --git a/cmd/cmd.go b/cmd/cmd.go index a6286a3..87b7046 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -116,7 +116,8 @@ gosince [.] } if callGoDoc { - if err = runGoDoc(result[0]); err != nil { + splitted := strings.Split(result[0], " ") + if err = runGoDoc(splitted...); err != nil { fmt.Println(err) return }