We choose lib to clearly separate and promote the reuse of generic code components that can benefit multiple projects and teams within our organization.
Prior art
lib: The lib convention represents a directory for reusable code libraries, promoting modular design and code reuse across the application.
src: The src convention establishes a directory for core source code files, facilitating focused development and organization.
internal: The internal convention denotes a directory for project-internal code, preventing unintended external use and highlighting potential wider impacts. This is integrated into the Go toolchain/ecosystem.
We choose
lib
to clearly separate and promote the reuse of generic code components that can benefit multiple projects and teams within our organization.Prior art
lib
: Thelib
convention represents a directory for reusable code libraries, promoting modular design and code reuse across the application.src
: Thesrc
convention establishes a directory for core source code files, facilitating focused development and organization.internal
: Theinternal
convention denotes a directory for project-internal code, preventing unintended external use and highlighting potential wider impacts. This is integrated into the Go toolchain/ecosystem.