mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-23 16:27:35 +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]
|
||
|
}
|