util

package
v0.0.0-...-45939f7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetTimeNowFunc = time.Now

GetTimeNowFunc is current time function. Default function is "time.Now".

Functions

func GetFormatedTimeNow

func GetFormatedTimeNow() string

GetFormatedTimeNow はDB用フォーマット済みの現在時刻を返す

func GetLogger

func GetLogger() *logrus.Logger

GetLogger returns global logger

func GetTimeNow

func GetTimeNow() time.Time

GetTimeNow は現在時刻を返す

func LoadEnv

func LoadEnv()

LoadEnv apply .env to ENVIRONMENT VARIABLE.

Types

This section is empty.

Jump to

Keyboard shortcuts

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