helpers

package
v0.0.0-...-c477d60 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateToHuman

func DateToHuman(d time.Time) string

DateToHuman converts a date to human readable time

func Diff

func Diff(a, b time.Time) (year, month, day, hour, min, sec int)

func FindVideoID

func FindVideoID(url string) string

FindVideoID extracts youtube video id from a link

Types

This section is empty.

Jump to

Keyboard shortcuts

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