mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-24 07:19:28 +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]
|
||
|
|
}
|