There's a bug with the BuildHeaders function which is ignoring values of int64:
|
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()) |
There's a bug with the BuildHeaders function which is ignoring values of int64:
gophercloud/params.go
Lines 448 to 454 in f05a603