timekit
dateparse
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
timekit
-
Comparing time values with margin of error
Time is always a pain to deal with, this is why I maintain `timekit` package. I took the best answer which was from u/pdffs (along with giving credit to this anon in the code! Thank you!!!) and updated the library. If you want to use reusable code in the future, you can try:
- Timekit – Helpful functions to extend the Go `time` standard package
- Show HN: Timekit – Helpful functions to extend the Go `time` standard package
dateparse
-
Find Date time string in any format from a string
This library: https://github.com/araddon/dateparse allows to parse a date string in any format.
What are some alternatives?
gotimeparser - Golang time parser. This library provides an ability to parse time from many different formats at the same time.
tuesday - Ruby-compatible strftime for golang
epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON
gostradamus - Gostradamus: Better DateTimes for Go 🕰️
carbon - A simple, semantic and developer-friendly golang package for time
strftime - C99-compatible strftime formatter for use with Go time.Time instances.
iso8601 - A fast ISO8601 date parser for Go
synchro - 🕰️ Synchro: Timezone-typesafe date and time framework for Go. 🌟 Star to support our work!
go-str2duration - Convert string to duration in golang
cronrange - time range expression in cron style
go-sunrise - Go package for calculating the sunrise and sunset times for a given location