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 and timwu20 committed Dec 6, 2021
1 parent 6098ff1 commit 4e049d1
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 4e049d1

Please sign in to comment.