Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add left-aligned happy path to style-guide #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZhangHan-git
Copy link

add left-aligned happy path to style-guide

@@ -279,3 +280,70 @@ Don't do this:
```

参考: https://dmitri.shuralyov.com/idiomatic-go#use-consistent-spelling-of-certain-words.

## left-aligned happy path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

每个人对 "happy path" 的理解可能会不一样,尽量沿用官方的说法比较好。比如,go wiki 管这个叫 Indent Error Flow

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants