Skip to content

Commit

Permalink
Update compress.go (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 21, 2024
1 parent 97bf934 commit 06c8915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compress/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewCompress(clientId, apiKey string, isDebug bool) (ICompress, error) {
if apiKey == "" {
return nil, fmt.Errorf("apiKey is compulsory")
}
customerName := string.Replace(clientId, "_client", "")
customerName := string.ReplaceAll(clientId, "_client", "")

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)

Check failure on line 55 in compress/compress.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

string.ReplaceAll undefined (type string has no field or method ReplaceAll)
c := &compress{
debug: isDebug,
restClient: resty.New(),
Expand Down

0 comments on commit 06c8915

Please sign in to comment.