mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Issue indexer queue redis support (#6218)
* add redis queue * finished indexer redis queue * add redis vendor * fix vet * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: lunny <xiaolunwen@gmail.com> * switch to go mod * Update required changes for new logging func signatures
This commit is contained in:
		
							
								
								
									
										19
									
								
								vendor/github.com/go-redis/redis/internal/util/strconv.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/go-redis/redis/internal/util/strconv.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| package util | ||||
|  | ||||
| import "strconv" | ||||
|  | ||||
| func Atoi(b []byte) (int, error) { | ||||
| 	return strconv.Atoi(BytesToString(b)) | ||||
| } | ||||
|  | ||||
| func ParseInt(b []byte, base int, bitSize int) (int64, error) { | ||||
| 	return strconv.ParseInt(BytesToString(b), base, bitSize) | ||||
| } | ||||
|  | ||||
| func ParseUint(b []byte, base int, bitSize int) (uint64, error) { | ||||
| 	return strconv.ParseUint(BytesToString(b), base, bitSize) | ||||
| } | ||||
|  | ||||
| func ParseFloat(b []byte, bitSize int) (float64, error) { | ||||
| 	return strconv.ParseFloat(BytesToString(b), bitSize) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao