Replace empty struct references with nil
yitsushi opened this issue · comments
Victoria Nadasdi commented
for example:
- return &Namespace{}, NotFoundError{Type: "namespace", Name: name}
+ return nil, NotFoundError{Type: "namespace", Name: name}
Authy/Google Authenticator like TOTP CLI tool written in Go.
yitsushi opened this issue · comments
for example:
- return &Namespace{}, NotFoundError{Type: "namespace", Name: name}
+ return nil, NotFoundError{Type: "namespace", Name: name}