Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TwiN committed Apr 17, 2020
1 parent 5a7e226 commit adc56b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ func p2v(p interface{}) interface{} {
case *string:
if value == nil {
return "<nil>"
} else {
return *value
}
return *value
case *int64:
if value == nil {
return "<nil>"
} else {
return *value
}
return *value
default:
return value
}
Expand Down

0 comments on commit adc56b5

Please sign in to comment.