1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00
strimertul/utils/context.go
Ash Keel aaffaebe55
refactor: module conundrum phase 1
Refactor Twitch client and bot so it can be closed and reopened with a
different config.
Add a cancellation function to subscription functions so they can be
cancelled.
Use http.Handler instead of HandlerFunc for custom routes
2022-12-03 16:16:59 +01:00

8 lines
86 B
Go

package utils
type ContextKey string
const (
ContextLogger ContextKey = "logger"
)