mirror of
				https://github.com/gin-gonic/gin.git
				synced 2025-11-04 09:12:12 +08:00 
			
		
		
		
	doc(context): add status func comment. (#1042)
This commit is contained in:
		
							parent
							
								
									d39ed41ab3
								
							
						
					
					
						commit
						7fafb3f4a1
					
				@ -561,6 +561,7 @@ func bodyAllowedForStatus(status int) bool {
 | 
				
			|||||||
	return true
 | 
						return true
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Status sets the HTTP response code.
 | 
				
			||||||
func (c *Context) Status(code int) {
 | 
					func (c *Context) Status(code int) {
 | 
				
			||||||
	c.writermem.WriteHeader(code)
 | 
						c.writermem.WriteHeader(code)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user