Browse Source

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.
Matthias Loibl 3 years ago
parent
commit
1ceb56fc7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .editorconfig

+ 1 - 1
.editorconfig

@@ -10,7 +10,7 @@ trim_trailing_whitespace = true
10 10
 
11 11
 [*.go]
12 12
 indent_style = tab
13
-indent_size = 4
13
+indent_size = 8
14 14
 
15 15
 [*.tmpl]
16 16
 indent_style = tab