Updating IsDebugging docs to remove redudent words. (#868)
This commit is contained in:
		
				
					committed by
					
						
						Bo-Yi Wu
					
				
			
			
				
	
			
			
			
						parent
						
							e0518111f8
						
					
				
				
					commit
					ee7b912a24
				
			
							
								
								
									
										2
									
								
								debug.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								debug.go
									
									
									
									
									
								
							@ -15,7 +15,7 @@ func init() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// IsDebugging returns true if the framework is running in debug mode.
 | 
					// IsDebugging returns true if the framework is running in debug mode.
 | 
				
			||||||
// Use SetMode(gin.Release) to switch to disable the debug mode.
 | 
					// Use SetMode(gin.Release) to disable debug mode.
 | 
				
			||||||
func IsDebugging() bool {
 | 
					func IsDebugging() bool {
 | 
				
			||||||
	return ginMode == debugCode
 | 
						return ginMode == debugCode
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user