vim/bundle/deoplete-go/rplugin/python3/deoplete/sources/deoplete_go/stdlib.py

138 lines
3.8 KiB
Python

class stdlib(object):
packages = dict({
'adler32': ['hash'],
'aes': ['crypto'],
'ascii85': ['encoding'],
'asn1': ['encoding'],
'ast': ['go'],
'atomic': ['sync'],
'base32': ['encoding'],
'base64': ['encoding'],
'big': ['math'],
'binary': ['encoding'],
'bufio': ['bufio'],
'build': ['go'],
'bytes': ['bytes'],
'bzip2': ['compress'],
'cgi': ['net/http'],
'cipher': ['crypto'],
'cmplx': ['math'],
'color': ['image'],
'constant': ['go'],
'context': ['context'],
'cookiejar': ['net/http'],
'crc32': ['hash'],
'crc64': ['hash'],
'crypto': ['crypto'],
'csv': ['encoding'],
'debug': ['runtime'],
'des': ['crypto'],
'doc': ['go'],
'draw': ['image'],
'driver': ['database/sql'],
'dsa': ['crypto'],
'dwarf': ['debug'],
'ecdsa': ['crypto'],
'elf': ['debug'],
'elliptic': ['crypto'],
'encoding': ['encoding'],
'errors': ['errors'],
'exec': ['os'],
'expvar': ['expvar'],
'fcgi': ['net/http'],
'filepath': ['path'],
'flag': ['flag'],
'flate': ['compress'],
'fmt': ['fmt'],
'fnv': ['hash'],
'format': ['go'],
'gif': ['image'],
'gob': ['encoding'],
'gosym': ['debug'],
'gzip': ['compress'],
'hash': ['hash'],
'heap': ['container'],
'hex': ['encoding'],
'hmac': ['crypto'],
'html': ['html'],
'http': ['net'],
'httptest': ['net/http'],
'httptrace': ['net/http'],
'httputil': ['net/http'],
'image': ['image'],
'importer': ['go'],
'io': ['io'],
'iotest': ['testing'],
'ioutil': ['io'],
'jpeg': ['image'],
'json': ['encoding'],
'jsonrpc': ['net/rpc'],
'list': ['container'],
'log': ['log'],
'lzw': ['compress'],
'macho': ['debug'],
'mail': ['net'],
'math': ['math'],
'md5': ['crypto'],
'mime': ['mime'],
'multipart': ['mime'],
'net': ['net'],
'os': ['os'],
'palette': ['image/color'],
'parse': ['text/template'],
'parser': ['go'],
'path': ['path'],
'pe': ['debug'],
'pem': ['encoding'],
'pkix': ['crypto/x509'],
'plan9obj': ['debug'],
'png': ['image'],
'pprof': ['net/http', 'runtime'],
'printer': ['go'],
'quick': ['testing'],
'quotedprintable': ['mime'],
'rand': ['crypto', 'math'],
'rc4': ['crypto'],
'reflect': ['reflect'],
'regexp': ['regexp'],
'ring': ['container'],
'rpc': ['net'],
'rsa': ['crypto'],
'runtime': ['runtime'],
'scanner': ['go', 'text'],
'sha1': ['crypto'],
'sha256': ['crypto'],
'sha512': ['crypto'],
'signal': ['os'],
'smtp': ['net'],
'sort': ['sort'],
'sql': ['database'],
'strconv': ['strconv'],
'strings': ['strings'],
'subtle': ['crypto'],
'suffixarray': ['index'],
'sync': ['sync'],
'syntax': ['regexp'],
'syscall': ['syscall'],
'syslog': ['log'],
'tabwriter': ['text'],
'tar': ['archive'],
'template': ['text', 'html'],
'testing': ['testing'],
'textproto': ['net'],
'time': ['time'],
'tls': ['crypto'],
'token': ['go'],
'trace': ['runtime'],
'types': ['go'],
'unicode': ['unicode'],
'url': ['net'],
'user': ['os'],
'utf16': ['unicode'],
'utf8': ['unicode'],
'x509': ['crypto'],
'xml': ['encoding'],
'zip': ['archive'],
'zlib': ['compress'],
})