if strings.HasSuffix(filename, "runtime/asm_amd64.s") {
index = index - 2
break
}
index++
asm_amd64 is not correct in arm64 platform !
panic: package parsing failed:can not find main files
goroutine 1 [running]:
github.com/xxjwxc/public/myast.GetModuleInfo(0x2, 0x40000740d8, 0x400042baa8, 0x89198, 0x0, 0xe24dc)
/go/pkg/mod/github.com/xxjwxc/public@v0.0.0-20210528122519-9c0267a26e38/myast/common.go:42 +0x36c
github.com/xxjwxc/ginrpc.(_Base).tryGenRegister(0x40003a0190, 0x8588a0, 0x40003b01a0, 0x400042bea8, 0x1, 0x1, 0x40003a0190)
/go/pkg/mod/github.com/xxjwxc/ginrpc@v0.0.0-20210528122947-199c6df89cae/common.go:455 +0x30
github.com/xxjwxc/ginrpc.(_Base).Register(0x40003a0190, 0x8588a0, 0x40003b01a0, 0x400042bea8, 0x1, 0x1, 0x40003b01a0)
/go/pkg/mod/github.com/xxjwxc/ginrpc@v0.0.0-20210528122947-199c6df89cae/ginrpc.go:152 +0x9c