-
Notifications
You must be signed in to change notification settings - Fork 583
Core: BuildHeaders is ignoring int64 #1859
Copy link
Copy link
Closed
Description
There's a bug with the BuildHeaders function which is ignoring values of int64:
Lines 448 to 454 in f05a603
| switch v.Kind() { | |
| case reflect.String: | |
| optsMap[tags[0]] = v.String() | |
| case reflect.Int: | |
| optsMap[tags[0]] = strconv.FormatInt(v.Int(), 10) | |
| case reflect.Bool: | |
| optsMap[tags[0]] = strconv.FormatBool(v.Bool()) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels