mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
13 lines
268 B
Go
13 lines
268 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
|
|
)
|