Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: panic: runtime error: index out of range #30063
What version of Go are you using (
changed the title
runtime1.go:474 cause panic runtime error: index out of range
Feb 2, 2019
This doesn't make much sense. There should always be at least one module.
Can you add a few more prints:
That will let us know if the data is computed incorrectly to start, or whether it gets lost subsequently.
@randall77 thanks for your reply for me.
Here was the print results: