2018-03-13 07:32:44 +03:00
|
|
|
// +build ignore
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"strings"
|
|
|
|
)
|
|
|
|
|
|
|
|
var pkgList = `
|
|
|
|
archive/tar
|
|
|
|
archive/zip
|
|
|
|
bufio
|
|
|
|
bytes
|
|
|
|
compress/bzip2
|
|
|
|
compress/flate
|
|
|
|
compress/gzip
|
|
|
|
compress/lzw
|
|
|
|
compress/zlib
|
|
|
|
container/heap
|
|
|
|
container/list
|
|
|
|
container/ring
|
2018-03-13 08:19:03 +03:00
|
|
|
context
|
2018-03-13 07:32:44 +03:00
|
|
|
crypto
|
|
|
|
crypto/aes
|
|
|
|
crypto/cipher
|
|
|
|
crypto/des
|
|
|
|
crypto/dsa
|
|
|
|
crypto/ecdsa
|
|
|
|
crypto/elliptic
|
|
|
|
crypto/hmac
|
|
|
|
crypto/md5
|
|
|
|
crypto/rand
|
|
|
|
crypto/rc4
|
|
|
|
crypto/rsa
|
|
|
|
crypto/sha1
|
|
|
|
crypto/sha256
|
|
|
|
crypto/sha512
|
|
|
|
crypto/subtle
|
|
|
|
crypto/tls
|
|
|
|
crypto/x509
|
|
|
|
crypto/x509/pkix
|
|
|
|
database/sql
|
|
|
|
database/sql/driver
|
|
|
|
debug/dwarf
|
|
|
|
debug/elf
|
|
|
|
debug/gosym
|
|
|
|
debug/macho
|
|
|
|
debug/pe
|
2018-03-13 08:19:03 +03:00
|
|
|
debug/plan9obj
|
2018-03-13 07:32:44 +03:00
|
|
|
encoding
|
|
|
|
encoding/ascii85
|
|
|
|
encoding/asn1
|
|
|
|
encoding/base32
|
|
|
|
encoding/base64
|
|
|
|
encoding/binary
|
|
|
|
encoding/csv
|
|
|
|
encoding/gob
|
|
|
|
encoding/hex
|
|
|
|
encoding/json
|
|
|
|
encoding/pem
|
|
|
|
encoding/xml
|
|
|
|
errors
|
|
|
|
expvar
|
|
|
|
flag
|
|
|
|
fmt
|
|
|
|
go/ast
|
|
|
|
go/build
|
2018-03-13 08:19:03 +03:00
|
|
|
go/constant
|
2018-03-13 07:32:44 +03:00
|
|
|
go/doc
|
|
|
|
go/format
|
2018-03-13 08:19:03 +03:00
|
|
|
go/importer
|
2018-03-13 07:32:44 +03:00
|
|
|
go/parser
|
|
|
|
go/printer
|
|
|
|
go/scanner
|
|
|
|
go/token
|
2018-03-13 08:19:03 +03:00
|
|
|
go/types
|
2018-03-13 07:32:44 +03:00
|
|
|
hash
|
|
|
|
hash/adler32
|
|
|
|
hash/crc32
|
|
|
|
hash/crc64
|
|
|
|
hash/fnv
|
|
|
|
html
|
|
|
|
html/template
|
|
|
|
image
|
|
|
|
image/color
|
|
|
|
image/color/palette
|
|
|
|
image/draw
|
|
|
|
image/gif
|
|
|
|
image/jpeg
|
|
|
|
image/png
|
|
|
|
index/suffixarray
|
|
|
|
io
|
|
|
|
io/ioutil
|
|
|
|
log
|
|
|
|
log/syslog
|
|
|
|
math
|
|
|
|
math/big
|
2018-03-13 08:19:03 +03:00
|
|
|
math/bits
|
2018-03-13 07:32:44 +03:00
|
|
|
math/cmplx
|
|
|
|
math/rand
|
|
|
|
mime
|
|
|
|
mime/multipart
|
2018-03-13 08:19:03 +03:00
|
|
|
mime/quotedprintable
|
2018-03-13 07:32:44 +03:00
|
|
|
net
|
|
|
|
net/http
|
|
|
|
net/http/cgi
|
|
|
|
net/http/cookiejar
|
|
|
|
net/http/fcgi
|
|
|
|
net/http/httptest
|
2018-03-13 08:19:03 +03:00
|
|
|
net/http/httptrace
|
2018-03-13 07:32:44 +03:00
|
|
|
net/http/httputil
|
|
|
|
net/http/pprof
|
|
|
|
net/mail
|
|
|
|
net/rpc
|
|
|
|
net/rpc/jsonrpc
|
|
|
|
net/smtp
|
|
|
|
net/textproto
|
|
|
|
net/url
|
|
|
|
os
|
|
|
|
os/exec
|
|
|
|
os/signal
|
|
|
|
os/user
|
|
|
|
path
|
|
|
|
path/filepath
|
2018-03-13 08:19:03 +03:00
|
|
|
plugin
|
2018-03-13 07:32:44 +03:00
|
|
|
reflect
|
|
|
|
regexp
|
|
|
|
regexp/syntax
|
|
|
|
runtime
|
|
|
|
runtime/cgo
|
|
|
|
runtime/debug
|
|
|
|
runtime/pprof
|
|
|
|
runtime/race
|
2018-03-13 08:19:03 +03:00
|
|
|
runtime/trace
|
2018-03-13 07:32:44 +03:00
|
|
|
sort
|
|
|
|
strconv
|
|
|
|
strings
|
|
|
|
sync
|
|
|
|
sync/atomic
|
|
|
|
syscall
|
|
|
|
testing
|
|
|
|
testing/iotest
|
|
|
|
testing/quick
|
|
|
|
text/scanner
|
|
|
|
text/tabwriter
|
|
|
|
text/template
|
|
|
|
text/template/parse
|
|
|
|
time
|
|
|
|
unicode
|
|
|
|
unicode/utf16
|
|
|
|
unicode/utf8
|
|
|
|
unsafe
|
|
|
|
`
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
//fmt.Println(pkgList)
|
|
|
|
var list []string
|
|
|
|
index := 0
|
|
|
|
for _, v := range strings.Split(pkgList, "\n") {
|
|
|
|
v = strings.TrimSpace(v)
|
|
|
|
if v == "" {
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
v = "\"" + v + "\""
|
|
|
|
if index%4 == 0 && index != 0 {
|
|
|
|
v = "\n" + v
|
|
|
|
}
|
|
|
|
list = append(list, v)
|
|
|
|
index++
|
|
|
|
}
|
|
|
|
fmt.Println(strings.Join(list, ","))
|
|
|
|
}
|