mirror of https://gitee.com/openkylin/genmai.git
编写UtilsPad, UtilsInterpreterPuse函数
This commit is contained in:
parent
1700692398
commit
586f3c4290
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue