Skip to content

Commit

Permalink
Remove unused Truncate() (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Jun 4, 2024
1 parent cb3986f commit 542da8c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions quesma/util/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ import (

type JsonMap = map[string]interface{}

func Truncate(body string) string {
if len(body) < 70 {
return body
}
return body[:70]
}

func prettify(jsonStr string) string {
data := []byte(jsonStr)
empty := []byte{}
Expand Down

0 comments on commit 542da8c

Please sign in to comment.