Skip to content

Commit

Permalink
solve strings.ReplaceAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 25, 2024
1 parent 06c8915 commit 5c28f9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compress/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package compress
import (
"fmt"
"io"
"strings"

"github.com/go-resty/resty/v2"
"github.com/minio/minio-go"
Expand Down Expand Up @@ -52,7 +53,7 @@ func NewCompress(clientId, apiKey string, isDebug bool) (ICompress, error) {
if apiKey == "" {
return nil, fmt.Errorf("apiKey is compulsory")
}
customerName := string.ReplaceAll(clientId, "_client", "")
customerName := strings.ReplaceAll(clientId, "_client", "")
c := &compress{
debug: isDebug,
restClient: resty.New(),
Expand Down

0 comments on commit 5c28f9e

Please sign in to comment.