mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-23 18:06:53 +08:00
Merge pull request #49 from c0dehu1k/misktake-45
Re-arranging some words , Mistake-45
This commit is contained in:
commit
3226cf97f3
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ When using named result parameters, we must recall that each parameter is initia
|
||||||
|
|
||||||
???+ info "TL;DR"
|
???+ info "TL;DR"
|
||||||
|
|
||||||
When returning an interface, be cautious about returning not a nil pointer but an explicit nil value. Otherwise, unintended consequences may result because the caller will receive a non-nil value.
|
When returning an interface, be cautious about not returning a nil pointer but an explicit nil value. Otherwise, unintended consequences may occur and the caller will receive a non-nil value.
|
||||||
|
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue