- Create a new directory named by your Github ID.
- Copy
content.goandMakefilefrom any existing user directory to your directory. - Create a new directory in your directory named by topic.
- Change to your directory and run
make new-{your-topic-name}, such asmake new-topic5 - Then you can code in your file.
- Every topic directory should contain
*.go,*_test.goand areadme.md. - You should code in
*.goand test in*_test.go. - In
readme.md, you should use# topic_nameas first line. - Except
# topic_nameinreadme.md, there are## 1. Title description,## 2. Exampleand## 3. Problem-solving. - You can add any code you need in your directory.
- Fetch remote repository before submit to Github.
- Do make clean.
- Solve any conflicts existed in your local repository.
- Every pull request should only contain one commit.
- Request someone to review your code.
- Several times, small amount of code.
- 😤 Don't modify others code.
- 🧐 Keep the code clean.
☺️ Think for yourself.