mirror of
https://github.com/rancher/steve.git
synced 2025-06-30 16:52:07 +00:00
9 lines
169 B
Go
9 lines
169 B
Go
|
package db
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
// Sanitize returns a string that can be used in SQL as a name
|
||
|
func Sanitize(s string) string {
|
||
|
return strings.ReplaceAll(s, "\"", "")
|
||
|
}
|