feat: add path params; add pathparams example

This commit is contained in:
Joao Goncalves
2025-12-04 17:53:06 -01:00
parent 26268f698a
commit 81d44954a4
4 changed files with 137 additions and 8 deletions

View File

@@ -46,7 +46,8 @@ func (r *OnIntervalRoutine) Stop() {
r.localInterrupt <- struct{}{}
}
func newOnIntervalRoutine(ctxDisposedChan chan struct{}, duration time.Duration, handler func()) *OnIntervalRoutine {
func newOnIntervalRoutine(ctxDisposedChan chan struct{},
duration time.Duration, handler func()) *OnIntervalRoutine {
r := &OnIntervalRoutine{
ctxDisposed: ctxDisposedChan,
localInterrupt: make(chan struct{}),