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

Code Transpilation to Go (Help Wanted) #222

Closed
35 of 36 tasks
Reanon opened this issue Jan 8, 2023 · 4 comments
Closed
35 of 36 tasks

Code Transpilation to Go (Help Wanted) #222

Reanon opened this issue Jan 8, 2023 · 4 comments
Labels
code Code-related

Comments

@Reanon
Copy link
Contributor

Reanon commented Jan 8, 2023

We need your help translating the code to Go.

Please check the contribution guidelines at #15

TODO List

Commit Guidelines

1、Format of the commit message
Refer to AngularJS Git Commit Message Conventions

<type>(<scope>): <subject>

Allowed <type>

  • feat: feature, complete a part of the code.
  • test: testcase.
  • fix: fix some bugs.
  • docs: documentation, complete a part of the doc.
  • style: formatting, …

Allowed <scope>

  • chapter_name/module_name

For example, if you complete the go code of linkedlist_queue in chapter_stack_and_queue, the commit message should be like:

feat(stack_and_queue/linkedlist_queue): add go code.

2、What one commit contains
If you complete two module code, testcase and docs, you commit log should be like:

docs(tree/binary_tree_bfs): add go code.
docs(stack_and_queue): add go code.
feat(stack_and_queue/linkedlist_queue): add go code and testcases.
test(tree/binary_tree_bfs): add go testcases.
feat(tree/binary_tree_bfs): add go code.

If you fix a bug, the commit log should be like :

docs(searching/linear_search): modify go code.
fix(searching/linear_search): fix go code.

Code Style

1、All code should be error-free when run through gofmt and go test.
2、Consistent with existing go code style.
3、Refer to uber/go-style.

@krahets
Copy link
Owner

krahets commented Feb 1, 2023

Hello @itsarraj . Thank you! How can we help you?

@ddkwork
Copy link

ddkwork commented Sep 9, 2023

can add ntree?

@krahets krahets changed the title Code Translation to Go (Help Wanted) Code Transpilation to Go (Help Wanted) Oct 29, 2023
@krahets
Copy link
Owner

krahets commented Apr 6, 2024

Closed because the 1st edition has been completed! Thank you for the great work!

@krahets krahets closed this as completed Apr 6, 2024
@JunMChen
Copy link

JunMChen commented Aug 18, 2024

Go1.23 发布了、这个项目现在还维护不了?

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

No branches or pull requests

4 participants