go-ethereum/XDCxlending/lendingstate
Daniel Liu fbecb8c5a5 all: fix staticcheck warning ST1006: don't use generic name self
The name of a method’s receiver should be a reflection of its identity;
often a one or two letter abbreviation of its type suffices (such as
“c” or “cl” for “Client”). Don’t use generic names such as “me”, “this”
or “self”, identifiers typical of object-oriented languages that place
more emphasis on methods as opposed to functions. The name need not be
as descriptive as that of a method argument, as its role is obvious and
serves no documentary purpose. It can be very short as it will appear
on almost every line of every method of the type; familiarity admits
brevity. Be consistent, too: if you call the receiver “c” in one method,
don’t call it “cl” in another.
2024-10-25 21:30:54 +08:00
..
common.go remove lendingstate.EmptyAddress 2023-10-24 12:27:03 +08:00
database.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
dump.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
journal.go XDP-03 (#396) 2024-01-19 15:05:27 +04:00
lendingcontract.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
lendingitem.go all: fix staticcheck warning SA4006: never used value 2024-10-24 17:37:19 +08:00
lendingitem_test.go fix: limit the max size of lending item extradata can be inside the t… (#405) 2024-01-29 11:31:48 +11:00
managed_state.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
relayer.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00
settle_balance.go common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
settle_balance_test.go common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
state_itemList.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_lendingbook.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_lendingitem.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_lendingtrade.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_liquidationtime.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
statedb.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
statedb_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
trade.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
XDCx_trie.go new EVM Upgrade 2021-09-21 16:53:46 +05:30