Skip to content

Commit 1ceb56f

Browse files
committed
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.
1 parent 85b8b7f commit 1ceb56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ trim_trailing_whitespace = true
1010

1111
[*.go]
1212
indent_style = tab
13-
indent_size = 4
13+
indent_size = 8
1414

1515
[*.tmpl]
1616
indent_style = tab

0 commit comments

Comments
 (0)