Simple Go pkg for formatting time.Time in an strftime(3) like way.
$ go get github.com/cactus/gostrftime
import (
"fmt"
"time"
"github.com/cactus/gostrftime"
)
func main() {
now := time.Now()
fmt.Println(gostrftime.Format("%Y-%m-%d", now))
}
Released under an MIT license. See LICENSE.md
file for details.