Get the current week number.
View the docs.
$ go get github.com/frozzare/go-week
vecka-go by kollegorna is a great cli tool for getting the week! Or if you like the node version of vecka.
package main
import (
"fmt"
"github.com/frozzare/go-week"
)
func main() {
w := week.Now()
fmt.Println(w)
}
MIT © Fredrik Forsmo