[英]Which one is better to name a third party spring boot starter
根據 spring boot 官方的說法,第三方 spring boot starter 的名稱不應以“spring-boot”開頭。 推薦使用模式:third-spring-boot-starter。
但是如果第三部分有不止一個首發,如何命名?
third-module1-spring-boot-starter
third-module2-spring-boot-starter
或者
third-spring-boot-starter-module1
third-spring-boot-starter-module1
?
根據Spring Boot 文檔中的命名約定,以下命名更接近於他們的建議:
third-spring-boot-starter-module1
third-spring-boot-starter-module2
我認為對於一個更大的組織來說,有多個首發是一種常見的情況,比如:
third-spring-boot-starter-logging
third-spring-boot-starter-tracing
並在最后給出模塊的實際名稱,更類似於 Spring Boot 團隊正在做的事情。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.