mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 20:38:00 +00:00
9 lines
121 B
Go
9 lines
121 B
Go
|
package record
|
||
|
|
||
|
func cutString(str string, pos int) string {
|
||
|
if len(str) <= pos {
|
||
|
return str
|
||
|
}
|
||
|
return str[:pos-1]
|
||
|
}
|