Skip to content

Package core

Summary

TODO: Write

Packages

All packages provided under kernel are shown in this section. Dependency graphs are generated by the https://github.com/loov/goda. It visualize the graph using Graphviz. Graphviz is also available at Graphviz Online.

# Basic usage of goda.
go install github.com/loov/goda@latest
goda graph ./core/... | dot -Tsvg -o depenency-graph.svg

Each packages, or each features, do not depends each other. They depends on the core/util/ and kernel/ packages. Of course they use apis/core/v1/ and apis/kernel/ packages which is generated by proto files.

This dependency graph is the graph of core/ excluding core/util/. Actually, the graph is beautified by our own bash script.

This dependency graphs was generated by

goda graph ./core/... - ./core/util/* \
  | sed 's/"github.com\/aileron-gateway\/aileron-gateway\//"/g' \
  | dot -Tsvg -o depenency-graph.svg

depenency-graph.svg

This dependency graph includes core/util/ and its sub packages. Note ./core/util/register/ is excluded here again because it obviously uses all packages. Actually, the graph is beautified by our own bash script.

This dependency graphs was generated by

goda graph ./core/... - ./core/util/register/ \
  | sed 's/"github.com\/aileron-gateway\/aileron-gateway\//"/g' \
  | dot -Tsvg -o depenency-graph-util.svg

depenency-graph-util.svg

Errors

TODO: Write