Is there a way to dynamically add routes?
Open
🤔 type:question
- Dominant language
- Go
- Stars
- 25.6k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
I need to serve a static directory which passed by users after the program starts, I tried `CreateRoutes` but it didn't work.
Is there any way to achieve this requirement?
Contributor guide
Research direction
No file or test is named. Start by reading the CreateRoutes API and the framework's static-directory serving entry points, then verify whether routes can be added after startup. Done means establishing a supported approach or clearly documenting that the requested behavior is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100