Documentation
¶
Index ¶
- Variables
- func FromBool(val bool) *pb.TaskValue
- func FromFloat(val float64) *pb.TaskValue
- func FromInt(val int) *pb.TaskValue
- func FromString(val string) *pb.TaskValue
- func ToBool(val *pb.TaskValue) bool
- func ToFloat(val *pb.TaskValue) float64
- func ToInt(val *pb.TaskValue) int64
- func ToString(val *pb.TaskValue) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TrueVal is the pb.TaskValue value equivalent to the "true" boolean. TrueVal = FromBool(true) // FalseVal is the pb.TaskValue value equivalent to the "false" boolean. FalseVal = FromBool(false) )
Functions ¶
func FromString ¶
FromString converts the given string in to a pb.TaskValue object.
func ToFloat ¶
ToFloat converts the given pb.TaskValue object into an integer. Note, this panics if there are not enough bytes in val.Val
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.