Support duration parsing that omits units
- Dominant language
- Go
- Stars
- 37
- Forks
- 10
- Avg merge
- 3h 26m
- Merged PRs (30d)
- 1
Description
Try to provide some flexibility like Spring Boot does, allowing for units suffix to be omitted and with a declarative default unit.
https://share.google/aimode/zyavuyQourNlebNnT
I'm not sure if looking at another field tag or indicator of it can be done from the final parse operation.
Would help with https://github.com/itzg/mc-router/issues/551
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests; start by tracing duration parsing and the final parse operation in this Go repository, including how field metadata is available. Confirm the intended declarative default-unit indicator, then verify that duration values work both with an explicit suffix and without one using that default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100