From a7e53615b8ed7b7314da874ed9812b8865cab12c Mon Sep 17 00:00:00 2001 From: Paul Gier Date: Thu, 21 Nov 2019 11:43:19 -0600 Subject: [PATCH] fix parameter style issue --- ident.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ident.go b/ident.go index 06c1b77..cab620d 100644 --- a/ident.go +++ b/ident.go @@ -103,7 +103,7 @@ func (i *Ident) LastPart() string { } // ReplaceSuffix creates a new Ident with the original suffix replaced by new -func (i Ident) ReplaceSuffix(orig string, new string) Ident { +func (i Ident) ReplaceSuffix(orig, new string) Ident { return New(strings.TrimSuffix(i.Original, orig) + new) }