Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Taxon ¶
type Taxon string
Taxon represents a single taxonomic unit. It is a string type that can represent multiple levels of a taxonomy, separated by a `/`. For example, a Taxon could be "storage/database/rdbms/postgres", representing a hierarchical structure of categories.
func NewTaxonomy ¶
NewTaxonomy function takes a variadic parameter of strings representing levels and joins them into a single Taxon using the separator. This function is used to create a new Taxon. For example, NewTaxonomy("storage", "database", "rdbms", "postgres") would return a Taxon "storage/database/rdbms/postgres".
Click to show internal directories.
Click to hide internal directories.