util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2016 License: MIT Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(s []string, e string) bool

ContainsString checks whether an array of strings contains the specified string.

Types

type UnixTimestamp

type UnixTimestamp time.Time

UnixTimestamp represents a

func (UnixTimestamp) MarshalJSON

func (t UnixTimestamp) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*UnixTimestamp) UnmarshalJSON

func (t *UnixTimestamp) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON implements the json.Unmarshaler interface.

Jump to

Keyboard shortcuts

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