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