!42 编写UtilsPad, UtilsInterpreterPuse函数

Merge pull request !42 from a-alpha/alpha-dev
This commit is contained in:
a-alpha 2022-11-07 03:25:40 +00:00 committed by Gitee
commit 0561d43163
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 8 additions and 0 deletions

View File

@ -62,3 +62,11 @@ func UtilsToU32(s string) int {
/* */
return int(binary.LittleEndian.Uint32(bytes))
}
func UtilsPad(length int) string {
return string.Repeat("a", length)
}
func UtilsInterpreterPuse() {
fmt.Scanln()
}