Documentation ¶
Index ¶
- func Bool(val string) (bool, error)
- func Bytes(val string) ([]byte, error)
- func Duration(val string) (*duration.Duration, error)
- func Float32(val string) (float32, error)
- func Float64(val string) (float64, error)
- func Int32(val string) (int32, error)
- func Int64(val string) (int64, error)
- func PopulateFieldFromPath(msg proto.Message, fieldPathString string, value string) error
- func PopulateQueryParameters(msg proto.Message, values url.Values) error
- func PopulateQueryParametersEx(msg proto.Message, values url.Values, ignoreUnknownParam bool) error
- func String(val string) (string, error)
- func Timestamp(val string) (*timestamp.Timestamp, error)
- func Uint32(val string) (uint32, error)
- func Uint64(val string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes converts the given string representation of a byte sequence into a slice of bytes A bytes sequence is encoded in URL-safe base64 without padding
func Float32 ¶
Float32 converts the given string representation of a floating point number into float32.
func Float64 ¶
Float64 converts the given string representation into representation of a floating point number into float64.
func PopulateFieldFromPath ¶
PopulateFieldFromPath sets a value in a nested Protobuf structure. It instantiates missing protobuf fields as it goes.
func PopulateQueryParameters ¶
PopulateQueryParameters populates "values" into "msg".
func PopulateQueryParametersEx ¶
PopulateQueryParametersEx populates "values" into "msg".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.