Documentation ¶
Overview ¶
Package gensupport is an internal implementation detail used by code generated by the google-api-go-generator tool.
This package may be modified at any time without regard for backwards compatibility. It should not be used directly by API users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
MarshalJSON returns a JSON encoding of schema containing only selected fields. A field is selected if:
- it has a non-empty value, or
- its field name is present in forceSendFields, and
- it is not a nil pointer or nil interface.
The JSON key for each selected field is taken from the field's json: struct tag.
Types ¶
type URLParams ¶
URLParams is a simplified replacement for url.Values that safely builds up URL parameters for encoding.
func (URLParams) Encode ¶
Encode encodes the values into “URL encoded” form ("bar=baz&foo=quux") sorted by key.
Click to show internal directories.
Click to hide internal directories.