-
-
Notifications
You must be signed in to change notification settings - Fork 490
Open
Labels
wontfixThis will not be worked onThis will not be worked on☢️ BugSomething isn't workingSomething isn't working
Description
Question description
fiber seems not support cancelContext like net/http, for demo case, see context
So code in the sub project "docker-mariadb-clean-arch"
customContext, cancel := context.WithCancel(context.Background())
defer cancel()
should be change into
customContext, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
I am a green hand for golang and fiber, so i'm not sure that if i am right.
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on☢️ BugSomething isn't workingSomething isn't working