Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package main

import (
	"fmt"
	"time"

	"github.com/xaionaro-go/timeapiio"
)

func main() {
	t, err := timeapiio.Now()
	if err != nil {
		panic(err)
	}

	fmt.Printf("the difference between local and remote clock is %v\n", time.Since(t))
}
xaionaro@void:~/go/src/github.com/xaionaro-go/timeapiio$ go run ./example/main.go
the difference between local and remote clock is 14.386375ms

About

A Go client to timeapi.io

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages