mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Prefer CapWords style struct names
This commit is contained in:
1 parent
0c20b6da6b
commit
cb5758aa75
1 file changed
+6
@@ -704,6 +704,12 @@ Contract and Library Names
|
||||
Contracts and libraries should be named using the CapWords style. Examples: ``SimpleToken``, ``SmartBank``, ``CertificateHashRepository``, ``Player``.
|
||||
|
||||
|
||||
Struct Names
|
||||
==========================
|
||||
|
||||
Structs should be named using the CapWords style. Examples: ``MyCoin``, ``Position``, ``PositionXY``.
|
||||
|
||||
|
||||
Event Names
|
||||
===========
|
||||
|
||||
|
||||
Reference in new issue
Block a user