This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Introduction
44This document describes the key package names (namespaces, etc.).
5+ This is only a guideline, language implementations should
6+ consider the best option to be idiomatic.
57
68## Structure
79The top level package name MUST be ** opencensus** (for URL model MUST use ** io.opencensus** ).
810
9- The second level package names MUST be:
11+ The second level package names SHOULD be:
1012* ** stats** : for all measurement related functionality
1113* ** tags** : for all tagging related functionality
1214* ** context** : for all context related functionality
1315* ** trace** : for all trace functionality
14- * ** common** : for all public API components that are shared across multiple of the above. These are
16+ * ** common** : for all public API components that are shared across multiple of the above^ * ^ . These are
1517typically utility classes such as timestamps, etc.
1618* ** internal** : If required, "internal" subdirectories/names of each of the above SHOULD be used
1719for all internal API components. e.g. common internal can have utility classes such as providers,
18- string manipulation, etc.
20+ string manipulation, etc.
21+
22+ (^* ^): For Go, consider using the top-level package instead.
You can’t perform that action at this time.
0 commit comments