util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: MIT Imports: 12 Imported by: 5

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 LogMemUsage added in v0.1.12

func LogMemUsage()

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 TestURL added in v0.1.14

func TestURL(t *testing.T, addr string, method string, status int)

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