logmower-shipper/pkg/ctx_keys/ctx_keys.go

16 lines
357 B
Go

package ctx_keys
// type Key uint32
// // The operations fsnotify can trigger; see the documentation on [Watcher] for a
// // full description, and check them with [Event.Has].
// const (
// PrometheusPrefix Key = 1 << iota
// )
// var keyMap = map[Key]reflect.Type{}
// func get(ctx context.Context, key Key) (val any, ok bool) {
// ctx.Value()
// }