mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-01 13:59:27 +00:00
Server handling refactor (#27)
This commit is contained in:
@ -63,7 +63,7 @@ func GetLogFormatter(param gin.LogFormatterParams) string {
|
||||
)
|
||||
}
|
||||
|
||||
func normalizeLog(log interface{}) interface{} {
|
||||
func normalizeLog(log any) any {
|
||||
switch v := log.(type) {
|
||||
case string:
|
||||
if v == "" {
|
||||
|
Reference in New Issue
Block a user