bykof/go-plantuml

panic: runtime error: slice bounds out of range [:4] with length 1

Closed this issue · 0 comments

panic: runtime error: slice bounds out of range [:4] with length 1

goroutine 1 [running]:
github.com/bykof/go-plantuml/astParser.dotNotatedModulePath({0xc00001aa88, 0xc00001aa88}, {0xc00001abe8, 0x0})
/home/kent/vgo/github.com/bykof/go-plantuml/astParser/parser.go:176 +0xfa
github.com/bykof/go-plantuml/astParser.ParseFile({0xc00001aa88, 0x7})
/home/kent/vgo/github.com/bykof/go-plantuml/astParser/parser.go:67 +0x207
github.com/bykof/go-plantuml/cmd.glob..func1(0x953da0, {0x709244, 0x6, 0x6})
/home/kent/vgo/github.com/bykof/go-plantuml/cmd/generate.go:24 +0x28f
github.com/spf13/cobra.(*Command).execute(0x953da0, {0xc000070660, 0x6, 0x6})
/opt/Go-T/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0x954020)
/opt/Go-T/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fc
github.com/spf13/cobra.(*Command).Execute(...)
/opt/Go-T/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/bykof/go-plantuml/cmd.Execute()
/home/kent/vgo/github.com/bykof/go-plantuml/cmd/root.go:22 +0x25
main.main()
/home/kent/vgo/github.com/bykof/go-plantuml/main.go:6 +0x17