Skip to content

Commit

Permalink
docs: remove be simple comment
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Dec 6, 2023
1 parent ef5f037 commit b9c8656
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/symbol/symbol.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ type Symbol struct {

var _ node.Node = (*Symbol)(nil)

// ID returns the unique identifier of the Symbol, based on its Spec.
// ID returns the unique identifier.
func (s *Symbol) ID() ulid.ULID {
return s.Spec.GetID()
}

// Kind returns the kind of the Symbol, based on its Spec.
// Kind returns the kind.
func (s *Symbol) Kind() string {
return s.Spec.GetKind()
}

// Namespace returns the namespace of the Symbol, based on its Spec.
// Namespace returns the namespace.
func (s *Symbol) Namespace() string {
return s.Spec.GetNamespace()
}

// Name returns the name of the Symbol, based on its Spec.
// Name returns the name.
func (s *Symbol) Name() string {
return s.Spec.GetName()
}

// Links returns the links of the Symbol, based on its Spec.
// Links returns the links.
func (s *Symbol) Links() map[string][]scheme.PortLocation {
return s.Spec.GetLinks()
}

// Port returns the specified port of the Symbol, based on its Node.
// Port returns the specified port.
func (s *Symbol) Port(name string) (*port.Port, bool) {
return s.Node.Port(name)
}
Expand Down

0 comments on commit b9c8656

Please sign in to comment.