Home > other >  The small white consult
The small white consult

Time:09-29

Why the following code err!=nil input below cannot ever FMT. Println this statement, complains, after input and input panic (err), but not an error, thank you

CodePudding user response:

FMT after printing program can't be terminated, will continue to perform, the code to run behind the went wrong?
And panic will terminate the program, the code will not continue, so will not result in the back of the error code to run,

CodePudding user response:

That might be an error in the following code, this time without the error information is preserved, while waiting for the next time I write note the specific contents of the error message, thank you ~

CodePudding user response:

No import FMT?

CodePudding user response:

Help you top a
  • Related