package
module
Version:
v0.0.0-...-b2c766d
Opens a new window with list of versions in this module.
Published: Mar 8, 2017
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
从一个json文件读取数据,返回字符串数组,json文件格式如下:
{"Data":["xx","xx","xx",...]}
func RandIntArray(num, n int) []int
获得一个范围(-n~n)的整型随机数组
type Data struct {
Data []string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.