2019-02-14 22:53:32 +00:00
|
|
|
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
|
2020-03-10 03:28:15 +00:00
|
|
|
movieKey key = 4
|
2020-04-08 02:51:12 +00:00
|
|
|
ContextUser key = 5
|
2020-07-07 00:35:43 +00:00
|
|
|
tagKey key = 6
|
2020-09-15 07:28:53 +00:00
|
|
|
downloadKey key = 7
|
2020-10-12 23:12:46 +00:00
|
|
|
imageKey key = 8
|
2019-02-14 22:53:32 +00:00
|
|
|
)
|