Skip to content

alexeyco/clog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clog

Go Report Card GoDoc

Clog (Irish: "clock") — a simple and mockable time provider for Go.

Usage

package main

import (
    "fmt"

    "github.com/alexeyco/clog"
)

func main() {
    // Create a new provider instance.
    clock := clog.New()

    // Get the current time.
    now := clock.Now()
    fmt.Println("Current time:", now)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published