I cloned the repo and built it but when I try to run the compiled file I get the following error. what should I do?
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x77c305]
goroutine 1 [running]:
github.com/anaskhan96/soup.findAllofem.func1(0x0, 0xc00060b0e0, 0x3, 0x3, 0x40cd00)
/home/narasimha/go/pkg/mod/github.com/anaskhan96/[email protected]/soup.go:534 +0x445
github.com/anaskhan96/soup.findAllofem(0x0, 0xc00060b0e0, 0x3, 0x3, 0x7b4801, 0xc000489e10, 0xc00047e000, 0x28)
/home/narasimha/go/pkg/mod/github.com/anaskhan96/[email protected]/soup.go:538 +0xf2
github.com/anaskhan96/soup.Root.FindAllStrict(0x0, 0x0, 0x0, 0x8a8360, 0xc0002c0200, 0xc00060b0e0, 0x3, 0x3, 0x0, 0x0, ...)
/home/narasimha/go/pkg/mod/github.com/anaskhan96/[email protected]/soup.go:313 +0x6c
main.ScrapeAvailableNumbers(0xc000149f48, 0x446c8a, 0xa97e80)
/home/narasimha/fake-sms/recvsms.go:29 +0x24d
main.main()
/home/narasimha/fake-sms/main.go:368 +0x26