Jalali Wrapper around time.Time, you can use all method from time
package with this module.
Note that you need to include the v in the version tag.
$ go get github.com/siaminz/[email protected]
package main
import (
"fmt"
"github.com/siaminz/gojalali"
)
func main() {
// Get Current time in jalali format
now := gojalali.Now()
// Import Time from Go Standard Time
gojalali.From(time.Now())
// return time in string ex: 1401/08/24 15:34:65
now.String()
}