mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-07 11:55:13 +00:00
1. Fix the error return format.
**todo**: ~~`bindtype` needs more complex logic to fix it.~~
`
if err != nil {
return nil, err
}
if err == nil {
return obj, nil
}
`
2. ~~Return pointer type object to avoid copying the whole struct
content.~~
3. Give the panic decision to the user.
4. Fix empty line at the end of function.
**TODO**: ~~fix some related test cases.~~
---------
Co-authored-by: Jared Wasinger <j-wasinger@hotmail.com>
|
||
|---|---|---|
| .. | ||
| internal/contracts | ||
| auth.go | ||
| backend.go | ||
| base.go | ||
| base_test.go | ||
| dep_tree.go | ||
| dep_tree_test.go | ||
| generate_test.go | ||
| lib.go | ||
| lib_test.go | ||
| util.go | ||
| util_test.go | ||