utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatetime

func NewDatetime(str string) (datetime, error)

Types

type DatetimeFactory

type DatetimeFactory struct {
	// contains filtered or unexported fields
}

func NewDatetimeFactory

func NewDatetimeFactory() *DatetimeFactory

func NewDatetimeMockFactory

func NewDatetimeMockFactory(t time.Time) *DatetimeFactory

func (DatetimeFactory) Now

func (f DatetimeFactory) Now() datetime

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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