English 中文(简体)
标签:的问答
A. 戈兰的混杂石
原文:Catching panics in Golang

With the following code, if no file argument is given, a panic is thrown for line 9 panic: runtime error: index out of range as expected. How can I catch this panic and handle it when directly when ...

热门标签