mirror of https://gitee.com/openkylin/genmai.git
!42 编写UtilsPad, UtilsInterpreterPuse函数
Merge pull request !42 from a-alpha/alpha-dev
This commit is contained in:
commit
0561d43163
|
@ -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