Documentation ¶
Overview ¶
Package json allows converting model.Trace to external JSON data model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DependenciesFromDomain ¶
func DependenciesFromDomain(dependencyLinks []model.DependencyLink) []json.DependencyLink
DependenciesFromDomain converts []model.DependencyLink into []json.DependencyLink format.
func FromDomain ¶
FromDomain converts model.Trace into json.Trace format. It assumes that the domain model is valid, namely that all enums have valid values, so that it does not need to check for errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.