Skip to content

ajwdev/gostrftime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gostrftime

Build Status GoDoc

About

Simple Go pkg for formatting time.Time in an strftime(3) like way.

Installing

$ go get github.com/cactus/gostrftime

Using

import (
    "fmt"
    "time"
    "github.com/cactus/gostrftime"
)

func main() {
    now := time.Now()
    fmt.Println(gostrftime.Format("%Y-%m-%d", now))
}

License

Released under an MIT license. See LICENSE.md file for details.

About

strftime for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%