go-ego / riot

Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Apache License 2.0
6.11k stars 474 forks source link

re bulid error #88

Closed Steve0x2a closed 5 years ago

Steve0x2a commented 5 years ago

Description

When I use re to auto-generate code for the riot application, the program generated an error.

re riot my-riotapp

error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5d27f1]

goroutine 1 [running]:
github.com/go-ego/re/vendor/github.com/go-vgo/gt/file.Walk.func1(0x0, 0x0, 0x0, 0x0, 0x976b60, 0xc000021680, 0x20, 0x888600)
...
Steve0x2a commented 5 years ago

I forgot to set GOPATH