mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Updated How to ask for help (markdown)
parent
7785a2ef36
commit
c4854d288a
@ -8,7 +8,7 @@ Before asking for help, please check that you've addressed the following common
|
|||||||
|
|
||||||
Always check all errors. It is common to see problems reported with panics due to nil panics due to code line this
|
Always check all errors. It is common to see problems reported with panics due to nil panics due to code line this
|
||||||
```
|
```
|
||||||
result, err := someFunction()
|
result, err := somefunction()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("oops an error happened", err)
|
log.Println("oops an error happened", err)
|
||||||
// return is missing here
|
// return is missing here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user