go-sql-driver / go-sql-driver/mysql
Make parseDateTime and friends (format..., parseBinary...) public
Open
enhancement
- Dominant language
- Go
- Stars
- 15.3k
- Forks
- 2.3k
- Avg merge
- 2h 23m
- Merged PRs (30d)
- 10
Description
It is possible that for whatever reason "parseTime" is not specified in the connection string (indeed, it is disabled by default). However, users still need to parse the various time values returned by MySQL and usually do so via all kinds of not quite correct ways using `time.Parse`.
Would not it make all the sense to export the existing time handling functions for the benefit of the users?
Contributor guide
Assessment
This issue has not been assessed yet.