Notice: The following rules may change as the project develops.
The main function of Flare is very simple, and the operating scenarios it is designed for are relatively harsh, so we are very concerned about performance.
- Comparing receivers and object orientation, use simple function and procedure orientation.
- Avoid using golang receiver pointer, consider concurrency safety.
- Minimize unnecessary memory reallocation.
- First define the model, and then submit the code; first define the test, and then implement the function.