rename mongoStruct to mongo_struct
This commit is contained in:
		
							
								
								
									
										15
									
								
								pkg/ctx_keys/ctx_keys.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								pkg/ctx_keys/ctx_keys.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| 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() | ||||
| // } | ||||
| @@ -1,4 +1,4 @@ | ||||
| package mongoStruct | ||||
| package mongo_struct | ||||
| 
 | ||||
| import ( | ||||
| 	"time" | ||||
| @@ -1,4 +1,4 @@ | ||||
| package mongoStruct | ||||
| package mongo_struct | ||||
| 
 | ||||
| import ( | ||||
| 	"context" | ||||
| @@ -1,4 +1,6 @@ | ||||
| package mongoStruct | ||||
| package mongo_struct | ||||
| 
 | ||||
| // TODO: this is misc collection of stuff not really fitting in here | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
		Reference in New Issue
	
	Block a user