mirror of
https://github.com/stashapp/stash.git
synced 2025-12-08 17:35:40 +01:00
14 lines
290 B
Go
14 lines
290 B
Go
package api
|
|
|
|
// https://stackoverflow.com/questions/40891345/fix-should-not-use-basic-type-string-as-key-in-context-withvalue-golint
|
|
|
|
type key int
|
|
|
|
const (
|
|
galleryKey key = 0
|
|
performerKey key = 1
|
|
sceneKey key = 2
|
|
studioKey key = 3
|
|
movieKey key = 4
|
|
ContextUser key = 5
|
|
)
|