mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-02 09:42:31 +02:00
lncli+docs: skip gomnd check in switch statement
This commit is contained in:
@@ -1653,6 +1653,7 @@ func clearLines(count int) {
|
||||
|
||||
// ordinalNumber returns the ordinal number as a string of a number.
|
||||
func ordinalNumber(num uint32) string {
|
||||
//nolint:gomnd
|
||||
switch num {
|
||||
case 1:
|
||||
return "1st"
|
||||
|
Reference in New Issue
Block a user