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