Popularity
3.9
Growing
Activity
0.5
Declining
84
4
3
Programming language: Go
License: MIT License
Tags:
Date & Time
Latest version: v1.1.0
iso8601 alternatives and similar packages
Based on the "Date and Time" category.
Alternatively, view iso8601 alternatives based on common mentions on social networks and blogs.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of iso8601 or a related project?
Popular Comparisons
README
A fast ISO8601 date parser for Go
go get github.com/relvacode/iso8601
The built-in RFC3333 time layout in Go is too restrictive to support any ISO8601 date-time.
This library parses any ISO8601 date into a native Go time object without regular expressions.
Usage
import "github.com/relvacode/iso8601"
// iso8601.Time can be used as a drop-in replacement for time.Time with JSON responses
type ExternalAPIResponse struct {
Timestamp *iso8601.Time
}
func main() {
// iso8601.ParseString can also be called directly
t, err := iso8601.ParseString("2020-01-02T16:20:00")
}
Benchmark
BenchmarkParse-16 13364954 77.7 ns/op 0 B/op 0 allocs/op