mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Go uses ident size 8 with tabs. Nothing else.
We are using gofmt to format our code. This will emit tabs. The standard is tabs which is 8 spaces.
This commit is contained in:
		@@ -10,7 +10,7 @@ trim_trailing_whitespace = true
 | 
			
		||||
 | 
			
		||||
[*.go]
 | 
			
		||||
indent_style = tab
 | 
			
		||||
indent_size = 4
 | 
			
		||||
indent_size = 8
 | 
			
		||||
 | 
			
		||||
[*.tmpl]
 | 
			
		||||
indent_style = tab
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user