You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ug, sorry. This repo isn't at all production ready. It's just barely past proof of concept. I'll poke at it sometime in the next week and try to get it to at least compile and run correctly.
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x668ca0, 0xc82000e090)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/natefinch/graffiti/tags.(_visitor).Visit(0xc8200c6930, 0x7faa6a903bc0, 0xc820078f60, 0x0, 0x0)
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/tags/generate.go:126 +0x4d6
go/ast.Walk(0x7faa6a903a78, 0xc8200c6930, 0x7faa6a903bc0, 0xc820078f60)
/usr/local/go/src/go/ast/walk.go:52 +0x56
go/ast.Walk(0x7faa6a903a78, 0xc8200c6930, 0x7faa6a903ad0, 0xc820070ec0)
/usr/local/go/src/go/ast/walk.go:331 +0x1f7d
go/ast.walkDeclList(0x7faa6a903a78, 0xc8200c6930, 0xc8200b0900, 0x9, 0x10)
/usr/local/go/src/go/ast/walk.go:38 +0xd5
go/ast.Walk(0x7faa6a903a78, 0xc8200c6930, 0x7faa6a903a48, 0xc8200aea00)
/usr/local/go/src/go/ast/walk.go:353 +0x29b9
github.com/natefinch/graffiti/tags.gen(0x7ffe357c3681, 0x9, 0xc8200805e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/tags/generate.go:81 +0x122
github.com/natefinch/graffiti/tags.genfile(0x7ffe357c3681, 0x9, 0xc8200805e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/tags/generate.go:64 +0x143
github.com/natefinch/graffiti/tags.Generate(0x7ffe357c3681, 0x9, 0xc8200805e0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/tags/generate.go:42 +0xe6
main.genCmd.func1(0xc82009a6c0, 0xc8200805c0, 0x2, 0x2)
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/main.go:56 +0x1b2
github.com/spf13/cobra.(_Command).execute(0xc82009a6c0, 0xc8200804a0, 0x2, 0x2, 0x0, 0x0)
/home/kcln1687/gopath/src/github.com/spf13/cobra/command.go:575 +0x896
github.com/spf13/cobra.(_Command).ExecuteC(0xc82009a480, 0xc82009a6c0, 0x0, 0x0)
/home/kcln1687/gopath/src/github.com/spf13/cobra/command.go:661 +0x55c
github.com/spf13/cobra.(_Command).Execute(0xc82009a480, 0x0, 0x0)
/home/kcln1687/gopath/src/github.com/spf13/cobra/command.go:620 +0x2d
main.main()
/home/kcln1687/gopath/src/github.com/natefinch/graffiti/main.go:16 +0x25
The text was updated successfully, but these errors were encountered: