Skip to content

Commit

Permalink
added warning message in ToString
Browse files Browse the repository at this point in the history
  • Loading branch information
madpelsm committed May 24, 2022
1 parent 3f4a198 commit 5bac76c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func ToString(arg interface{}) string {
case reflect.Value:
return ToString(v.Interface())
default:
fmt.Println("⚠️ : Warning in utils ToString method: argument type is unknown returning empty string")
return ""
}
}
Expand Down

0 comments on commit 5bac76c

Please sign in to comment.