Skip to content

Commit

Permalink
Group Similar Declarations: Use MixedCase (uber-go#121)
Browse files Browse the repository at this point in the history
Constants shouldn't use snake_case.
  • Loading branch information
abhinav authored Mar 16, 2021
2 parents ba42818 + 7ef68a3 commit 9180022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style.md
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ const (
Add Operation = iota + 1
Subtract
Multiply
ENV_VAR = "MY_ENV"
EnvVar = "MY_ENV"
)
```

Expand All @@ -1963,7 +1963,7 @@ const (
Multiply
)

const ENV_VAR = "MY_ENV"
const EnvVar = "MY_ENV"
```

</td></tr>
Expand Down

0 comments on commit 9180022

Please sign in to comment.