Skip to content

Commit

Permalink
string formatting (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOduneye authored Feb 17, 2024
1 parent ca9d0b4 commit d904e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/models/club.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ func (c *Club) Namespace() string {
}

func (c *Club) EmbeddingString() string {
return c.Name + " " + c.Name + " " + c.Name + " " + c.Name + " " + c.Description
return fmt.Sprintf("%s %s %s %s %s", c.Name, c.Name, c.Name, c.Name, c.Description)
}

0 comments on commit d904e21

Please sign in to comment.