Skip to content

Commit

Permalink
docs(codestyle): String() string methods (ChainSafe#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 authored Nov 6, 2021
1 parent 688c265 commit d7147cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/CODE_STYLE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Code style

🚧 work in progress! 🚧

## Add `String() string` methods

Add `String() string` methods to new types, so they can easily be logged.
💁 You should try de-referencing pointer fields in your method, to avoid logging pointer addresses.

0 comments on commit d7147cf

Please sign in to comment.