L-codes / Neo-reGeorg

Neo-reGeorg is a project that seeks to aggressively refactor reGeorg
GNU General Public License v3.0
2.84k stars 439 forks source link

golang error #79

Closed mlcrosofte closed 1 year ago

mlcrosofte commented 1 year ago

错误详细描述

Golang tunnel is a very good project, but there are some problems in compilation and execution, can you help me solve it?

I got error when i run go build:

# tunnel
.\tunnel.go:90:23: undefined: `BLV_L_OFFSET`
.\tunnel.go:116:49: undefined: `BLV_L_OFFSET`
.\tunnel.go:131:24: undefined: `READBUF`
.\tunnel.go:137:25: undefined: `MAXREADSIZE`
.\tunnel.go:180:16: undefined: `HTTPCODE`

And I try to set this variables .it build success. Now i run it :

panic: runtime error: index out of range [16] with length 16

goroutine 1 [running]:
main.zip(...)
        C:/Users/Liken/Desktop/Golang/tunnel.go:48
main.main()
        C:/Users/Liken/Desktop/Golang/tunnel.go:270 +0x29f

I hava no idea to fixs that ,can you help me ?

运行环境

客户端:

mlcrosofte commented 1 year ago

Oh, sorry , I readed README-en.md to fix it .