util

package
v0.0.0-...-29da2f4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextNowTime

func ContextNowTime(c context.Context) time.Time

func ContextWithNowTime

func ContextWithNowTime(c context.Context, t time.Time) context.Context

func MaxInt

func MaxInt(a, b int) int

func MaxTime

func MaxTime(a, b time.Time) time.Time

MaxTime returns the later of the given times.

func MergeStringMaps

func MergeStringMaps(maps ...map[string]string) map[string]string

func MinTime

func MinTime(a, b time.Time) time.Time

MinTime returns the earlier of the given times.

Types

This section is empty.

Jump to

Keyboard shortcuts

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