go-week alternatives and similar packages
Based on the "Date and Time" category.
Alternatively, view go-week alternatives based on common mentions on social networks and blogs.
-
dateparse
GoLang Parse many date strings without knowing format in advance. -
go-sunrise
Go package for calculating the sunrise and sunset times for a given location -
strftime
C99-compatible strftime formatter for use with Go time.Time instances. -
go-anytime
Parse natural and standardized dates/times and ranges in Go without knowing the format in advance -
approx
Package approx adds support for durations of days, weeks and years.
Static code analysis for 29 languages.
Do you think we are missing an alternative of go-week or a related project?
README
go-week
The package go-week
provides a simple data type representing a week date as defined by ISO 8601.
Versions and stability
This package can be considered stable and ready to use. All releases follow the rules of semantic versioning.
Although the master branch is supposed to remain stable, there is not guarantee that braking changes will not
be merged into master when major versions are released. Therefore the repository contains version tags in
order to support vendoring tools. The tag names follow common conventions and have the following format v1.0.0
.
This package supports Go modules introduced with version 1.11.
Dependencies
Build dependencies
github.com/pkg/errors
Test dependencies
github.com/DATA-DOG/go-sqlmock
github.com/lib/pq
(integration tests only)github.com/stretchr/testify
Run unit and integration tests
To run the code analysis and tests, use the following commands:
golangci-lint run -v --config .golangci.yml ./...
# without integration tests
go test ./...
# with integration tests (requires test db)
go test -tags=integration ./...
License
This project is open source an published under the [MIT license](LICENSE).
*Note that all licence references and agreements mentioned in the go-week README section above
are relevant to that project's source code only.