Closed mattn closed 7 years ago
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
panic(0x153ce0, 0xc4200100e0)
/usr/local/opt/go/libexec/src/runtime/panic.go:500 +0x1a1
github.com/dcu/gin-scaffold/command.(*InitCommand).Execute(0xc420014340, 0xc42000a140, 0x1, 0x1)
/Users/shinriyo/src/github.com/dcu/gin-scaffold/command/init_command.go:57 +0x262
main.main()
/Users/shinriyo/src/github.com/dcu/gin-scaffold/gin-scaffold.go:61 +0x14f
An error occurred
In my environment, I just minus one and resolved but..
root = wd[len(p+"/src/")-1:]
Okay, will fix in soon.
Hmm, can't reproduce. could you please show me how to reproduce?
Ah, I figure out it. ignore this.
could you please show me how to reproduce?
When, I did init
command.
Ah, I figure out it. ignore this.
Ok. I will check your pull-request. Thank you.
:+1: :-1:
LGTM. Than you for pull request.