You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Go library issue and not an underlying Cloudflare API issue
This is an issue with the Go library
Describe the bug
Using client.KV.Namespaces.Values.Update stores KV value as {"value": "...."}.
typeNamespaceValueUpdateParamsstruct {
// IdentifierAccountID param.Field[string] `path:"account_id,required"`// Arbitrary JSON to be associated with a key/value pair.Metadata param.Field[string] `json:"metadata,required"`// A byte sequence to be stored, up to 25 MiB in length.Value param.Field[string] `json:"value,required"`// The time, measured in number of seconds since the UNIX epoch, at which the key// should expire.Expiration param.Field[float64] `query:"expiration"`// The number of seconds for which the key should be visible before it expires. At// least 60.ExpirationTTL param.Field[float64] `query:"expiration_ttl"`
}
Confirm this is not a feature request
Confirm this is a Go library issue and not an underlying Cloudflare API issue
Describe the bug
Using
client.KV.Namespaces.Values.Update
stores KV value as{"value": "...."}
.To Reproduce
Code snippets
OS
Windows
Go version
Go 1.23
Library version
github.com/cloudflare/cloudflare-go/[email protected]
The text was updated successfully, but these errors were encountered: