Documentation
¶
Index ¶
- func AddDuration(t int64, d string) int64
- func CreateCapnpId() (capnpId string)
- func CreateFile(bytes []byte, filePath string)
- func ExampleTimeStuff()
- func FindFirstNodeByType(node *grizzly.Node, opType grizzly.OperatorType) (target *grizzly.Node, found bool)
- func Init()
- func NanoDuration(s string) int64
- func NanoNow() int64
- func NanoTime(s string) int64
- func PlanString() string
- func RandomInt(min int, max int) int
- func RandomString(l int) string
- func ReadBinaryFile(path string) (root grizzly.Node)
- func ReadBinaryPlan(reader io.Reader) (root grizzly.Node)
- func ShowPlan()
- func SubDuration(t int64, d string) int64
- func TimeString(i int64) (text string)
- func UpcaseFirstLetter(s string) string
- func WriteBinary(msg *capnp.Message, writer io.Writer)
- func WriteBinaryFile(msg *capnp.Message, path string)
- func WriteJson(root *grizzly.Node) (bytes []byte)
- func WriteJsonFile(root *grizzly.Node, filePath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDuration ¶
func CreateCapnpId ¶
func CreateCapnpId() (capnpId string)
func CreateFile ¶
func ExampleTimeStuff ¶
func ExampleTimeStuff()
func FindFirstNodeByType ¶
func PlanString ¶
func PlanString() string
func RandomString ¶
func ReadBinaryFile ¶
func SubDuration ¶
func TimeString ¶
Example: 1641147953906468000 --> "2022-01-02T10:25:53.906468-08:00"
func WriteBinary ¶
func WriteBinaryFile ¶
func WriteBinaryFile(msg *capnp.Message, path string)
func WriteJsonFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.