docs/contrib/code-conventions.md
storage.Interface is better than storage.StorageInterface.pkg/controllers/autoscaler/foo.go should say package autoscaler not package autoscalercontroller.
package foo line should match the name of the directory in which the .go file exists.Welcome to the OpenIM Naming Conventions Guide. This document outlines the best practices and standardized naming conventions that our project follows to maintain clarity, consistency, and alignment with industry standards, specifically taking cues from the Google Naming Conventions.
Files within the OpenIM project should adhere to the following rules:
-) and underscores (_) are acceptable in file names._) are preferred for general files to enhance readability and compatibility.data_processor.py, user_profile_generator.go-) to facilitate better searchability and compatibility in web browsers.deploy-script.sh, project-overview.mdREADME, may include underscores (_) to separate words if necessary.README_SETUP.md, CONTRIBUTING_GUIDELINES.md-) exclusively to maintain a clean and organized file structure.image-assets, user-data.yaml files, should use hyphens (-).app-config.yaml, logging-config.yamlproject-plan-v1.2.md or backup-2023-03-15.sql.wait package, which includes methods like Poll, fully named as wait.Poll.-) as separators._).openim-api directory, the Go file should be named openim-api.go, following the convention of using dashes for directory names and aligning package names with directory names.Please refer to TESTING.md document.