chore: update actions goreleaser
This commit is contained in:
parent
4a2819787d
commit
cc08fca97a
10 changed files with 215 additions and 792 deletions
12
stackit/internal/utils/strings.go
Normal file
12
stackit/internal/utils/strings.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package utils
|
||||
|
||||
func RemoveQuotes(src string) string {
|
||||
var res string
|
||||
if len(src) > 0 && src[0] == '"' {
|
||||
res = src[1:]
|
||||
}
|
||||
if len(res) > 0 && res[len(res)-1] == '"' {
|
||||
res = res[:len(res)-1]
|
||||
}
|
||||
return res
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue