util

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListContainsString added in v0.1.10

func ListContainsString(list []string, i string) bool

func ProtoNanos added in v0.1.10

func ProtoNanos(ts *timestamp.Timestamp) int64

func ProtoTime added in v0.1.10

func ProtoTime(ts *timestamp.Timestamp) time.Time

func ProtoTs added in v0.1.10

func ProtoTs(nsec int64) *timestamp.Timestamp

func ProtoTsIsNewer added in v0.1.10

func ProtoTsIsNewer(ts1 *timestamp.Timestamp, ts2 *timestamp.Timestamp) bool

func SplitString added in v0.1.10

func SplitString(in string, sep string) []string

func TrimQuotes added in v0.1.10

func TrimQuotes(s string) string

func UnmarshalString added in v0.1.10

func UnmarshalString(body io.ReadCloser) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL