Skip to content

Commit

Permalink
fix: SignalUnit SetName
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroO2000 committed Oct 2, 2024
1 parent 1464577 commit 1bd2853
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions signal_unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,8 @@ func (su *SignalUnit) Kind() SignalUnitKind {
func (su *SignalUnit) Symbol() string {
return su.symbol
}

// SetName sets the name of the [SignalUnit] to the given one.
func (su *SignalUnit) SetName(name string) {
su.name = name
}

0 comments on commit 1bd2853

Please sign in to comment.