mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:12:25 -05:00 
			
		
		
		
	[chore] Update gin to v1.9.0 (#1553)
This commit is contained in:
		
					parent
					
						
							
								689a10fe17
							
						
					
				
			
			
				commit
				
					
						ecdc8379fa
					
				
			
		
					 347 changed files with 166814 additions and 3671 deletions
				
			
		
							
								
								
									
										27
									
								
								vendor/github.com/gin-gonic/gin/internal/json/sonic.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/github.com/gin-gonic/gin/internal/json/sonic.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| // Copyright 2022 Gin Core Team. All rights reserved. | ||||
| // Use of this source code is governed by a MIT style | ||||
| // license that can be found in the LICENSE file. | ||||
| 
 | ||||
| //go:build sonic && avx && (linux || windows || darwin) && amd64 | ||||
| // +build sonic | ||||
| // +build avx | ||||
| // +build linux windows darwin | ||||
| // +build amd64 | ||||
| 
 | ||||
| package json | ||||
| 
 | ||||
| import "github.com/bytedance/sonic" | ||||
| 
 | ||||
| var ( | ||||
| 	json = sonic.ConfigStd | ||||
| 	// Marshal is exported by gin/json package. | ||||
| 	Marshal = json.Marshal | ||||
| 	// Unmarshal is exported by gin/json package. | ||||
| 	Unmarshal = json.Unmarshal | ||||
| 	// MarshalIndent is exported by gin/json package. | ||||
| 	MarshalIndent = json.MarshalIndent | ||||
| 	// NewDecoder is exported by gin/json package. | ||||
| 	NewDecoder = json.NewDecoder | ||||
| 	// NewEncoder is exported by gin/json package. | ||||
| 	NewEncoder = json.NewEncoder | ||||
| ) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue