Skip to content

Commit

Permalink
 ⚠️ Add warning comment on Character string function
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscasalar committed Nov 23, 2024
1 parent 34218d3 commit 218e9d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/generator/character.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (c Character) Characteristics() map[Characteristic]int {
}
}

// String returns a string representation of the character. It is prone to change so you should not rely on it.
func (c Character) String() string {
return fmt.Sprintf("Character{firstName: %v, surname: %v, role: %v, category: %v, experience: %v, skills: %v, characteristics: %v}",
c.firstName, c.surname, c.role, c.category, c.experience, c.skills, c.characteristics)
Expand Down

0 comments on commit 218e9d1

Please sign in to comment.