Packages supported by TinyGo

The following table shows all Go standard library packages and whether they can be imported by TinyGo. If they can’t, you can click the ‘no’ link to jump to the explanation why the package cannot be compiled.

Note that the fact they can be imported, does not mean that all functions and types in the program can be used. For example, sometimes using some functions or types of the package will still trigger compiler errors.

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

archive/tar

The compiler gave the following error when this package was imported:

# archive/tar
../../../../../usr/local/go/src/archive/tar/common.go:636:15: fi.ModTime undefined (type os.FileInfo has no field or method ModTime)
../../../../../usr/local/go/src/archive/tar/common.go:637:21: fm.Perm undefined (type os.FileMode has no field or method Perm)
../../../../../usr/local/go/src/archive/tar/common.go:640:10: fm.IsRegular undefined (type os.FileMode has no field or method IsRegular)
../../../../../usr/local/go/src/archive/tar/common.go:554:32: os.FileMode(fi.h.Mode).Perm undefined (type os.FileMode has no field or method Perm)
../../../../../usr/local/go/src/archive/tar/common.go:445:15: DeepEqual not declared by package reflect

archive/zip

The compiler gave the following error when this package was imported:

# archive/zip
../../../../../usr/local/go/src/archive/zip/register.go:106:21: Map not declared by package sync
../../../../../usr/local/go/src/archive/zip/register.go:107:21: Map not declared by package sync
../../../../../usr/local/go/src/archive/zip/struct.go:175:19: fi.ModTime undefined (type os.FileInfo has no field or method ModTime)
../../../../../usr/local/go/src/archive/zip/reader.go:61:19: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to r.init: missing method ReadAt

crypto/dsa

This package cannot be imported because the following dependencies cannot be compiled:

crypto/ecdsa

This package cannot be imported because the following dependencies cannot be compiled:

crypto/elliptic

This package cannot be imported because the following dependencies cannot be compiled:

crypto/rand

This package cannot be imported because the following dependencies cannot be compiled:

crypto/rsa

This package cannot be imported because the following dependencies cannot be compiled:

crypto/tls

This package cannot be imported because the following dependencies cannot be compiled:

crypto/x509

This package cannot be imported because the following dependencies cannot be compiled:

crypto/x509/pkix

This package cannot be imported because the following dependencies cannot be compiled:

database/sql

This package cannot be imported because the following dependencies cannot be compiled:

database/sql/driver

The compiler gave the following error when this package was imported:

# database/sql/driver
../../../../../usr/local/go/src/database/sql/driver/types.go:227:20: rv.Type().Elem().Implements undefined (type reflect.Type has no field or method Implements)

debug/elf

The compiler gave the following error when this package was imported:

# debug/elf
../../../../../usr/local/go/src/debug/elf/reader.go:73:16: ErrInvalid not declared by package os
../../../../../usr/local/go/src/debug/elf/reader.go:81:16: ErrInvalid not declared by package os
../../../../../usr/local/go/src/debug/elf/file.go:201:21: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to NewFile: missing method ReadAt

debug/macho

The compiler gave the following error when this package was imported:

# debug/macho
../../../../../usr/local/go/src/debug/macho/file.go:205:21: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to NewFile: missing method ReadAt
../../../../../usr/local/go/src/debug/macho/fat.go:130:24: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to NewFatFile: missing method ReadAt

debug/pe

The compiler gave the following error when this package was imported:

# debug/pe
../../../../../usr/local/go/src/debug/pe/file.go:40:21: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to NewFile: missing method ReadAt

debug/plan9obj

The compiler gave the following error when this package was imported:

# debug/plan9obj
../../../../../usr/local/go/src/debug/plan9obj/file.go:103:21: cannot use f (variable of type *os.File) as io.ReaderAt value in argument to NewFile: missing method ReadAt

encoding/asn1

This package cannot be imported because the following dependencies cannot be compiled:

encoding/base32

The compiler gave the following error when this package was imported:

error: interp: branch on a non-const-propagated constant expression

encoding/base64

The compiler gave the following error when this package was imported:

error: interp: branch on a non-const-propagated constant expression

encoding/gob

The compiler gave the following error when this package was imported:

# encoding/gob
../../../../../usr/local/go/src/encoding/gob/type.go:39:24: Map not declared by package sync
../../../../../usr/local/go/src/encoding/gob/type.go:801:26: Map not declared by package sync
../../../../../usr/local/go/src/encoding/gob/type.go:802:26: Map not declared by package sync
../../../../../usr/local/go/src/encoding/gob/type.go:844:8: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:866:8: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:867:9: rt.PkgPath undefined (type reflect.Type has no field or method PkgPath)
../../../../../usr/local/go/src/encoding/gob/type.go:868:21: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:870:21: rt.PkgPath undefined (type reflect.Type has no field or method PkgPath)
../../../../../usr/local/go/src/encoding/gob/type.go:870:42: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:715:28: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:722:31: rt.Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:496:34: t.Key undefined (type reflect.Type has no field or method Key)
../../../../../usr/local/go/src/encoding/gob/type.go:514:37: t.Elem().Name undefined (type reflect.Type has no field or method Name)
../../../../../usr/local/go/src/encoding/gob/type.go:531:17: typ.Name undefined (type reflect.Type has no field or method Name)
[...more lines following...]

encoding/json

This package cannot be imported because the following dependencies cannot be compiled:

encoding/pem

This package cannot be imported because the following dependencies cannot be compiled:

encoding/xml

The compiler gave the following error when this package was imported:

# encoding/xml
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:47:19: Map not declared by package sync
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:318:14: typ.FieldByIndex undefined (type reflect.Type has no field or method FieldByIndex)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:319:14: typ.FieldByIndex undefined (type reflect.Type has no field or method FieldByIndex)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:114:29: f.Index undefined (type *reflect.StructField has no field or method Index)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:117:15: f.Tag.Get undefined (type string has no field or method Get)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:168:24: f.Tag.Get undefined (type string has no field or method Get)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:175:23: f.Tag.Get undefined (type string has no field or method Get)
../../../../../usr/local/go/src/encoding/xml/typeinfo.go:63:50: f.Tag.Get undefined (type string has no field or method Get)
../../../../../usr/local/go/src/encoding/xml/read.go:665:7: dst.SetBytes undefined (type reflect.Value has no field or method SetBytes)
../../../../../usr/local/go/src/encoding/xml/read.go:339:38: val.Type().Implements undefined (type reflect.Type has no field or method Implements)
../../../../../usr/local/go/src/encoding/xml/read.go:347:37: pv.Type().Implements undefined (type reflect.Type has no field or method Implements)
../../../../../usr/local/go/src/encoding/xml/read.go:352:38: val.Type().Implements undefined (type reflect.Type has no field or method Implements)
../../../../../usr/local/go/src/encoding/xml/read.go:358:37: pv.Type().Implements undefined (type reflect.Type has no field or method Implements)
../../../../../usr/local/go/src/encoding/xml/read.go:398:17: Append not declared by package reflect
[...more lines following...]

expvar

This package cannot be imported because the following dependencies cannot be compiled:

flag

The compiler gave the following error when this package was imported:

# flag
../../../../../usr/local/go/src/flag/flag.go:1009:33: Args not declared by package os
../../../../../usr/local/go/src/flag/flag.go:998:23: Args not declared by package os
../../../../../usr/local/go/src/flag/flag.go:581:57: Args not declared by package os

go/ast

This package cannot be imported because the following dependencies cannot be compiled:

go/build

This package cannot be imported because the following dependencies cannot be compiled:

go/constant

This package cannot be imported because the following dependencies cannot be compiled:

go/doc

This package cannot be imported because the following dependencies cannot be compiled:

go/format

This package cannot be imported because the following dependencies cannot be compiled:

go/importer

This package cannot be imported because the following dependencies cannot be compiled:

go/parser

This package cannot be imported because the following dependencies cannot be compiled:

go/printer

This package cannot be imported because the following dependencies cannot be compiled:

go/scanner

This package cannot be imported because the following dependencies cannot be compiled:

go/token

The compiler gave the following error when this package was imported:

panic: interface conversion: interp.Value is *interp.LocalValue, not *interp.MapValue

goroutine 1 [running]:
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc002538798, 0x7fd5b1033e90, 0x7fd5b1033b10, 0x847752, 0x4, 0x0, 0x0, 0xc0034d38f8, 0x1, 0x1, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/frame.go:279 +0x9174
github.com/tinygo-org/tinygo/interp.(*Eval).function(0xc002512780, 0x7fd5b0031e58, 0xc003500960, 0x2, 0x2, 0xc0034f4e50, 0x8, 0x847752, 0x4, 0x8da760, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:104 +0x208
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc0025392b8, 0x7fd5b1032970, 0x7fd5b1032380, 0x0, 0x0, 0x0, 0x0, 0xc0034d38c0, 0x1, 0x1, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/frame.go:449 +0x51b3
github.com/tinygo-org/tinygo/interp.(*Eval).function(0xc002512780, 0x7fd5b0031d68, 0xc0025393f8, 0x2, 0x2, 0xc0034f4e50, 0x8, 0x0, 0x0, 0x0, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:104 +0x208
github.com/tinygo-org/tinygo/interp.(*Eval).Function(...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:87
github.com/tinygo-org/tinygo/interp.Run(0x2acf080, 0x2ac4f90, 0x0, 0x0, 0x0)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:74 +0x672
[...more lines following...]

go/types

This package cannot be imported because the following dependencies cannot be compiled:

html

The compiler gave the following error when this package was imported:

error: interp: branch on a non-const-propagated constant expression

html/template

This package cannot be imported because the following dependencies cannot be compiled:

image/color/palette

The compiler gave the following error when this package was imported:

Use of instruction is not an instruction!
  %7 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %6, 1, !dbg !1580
Use of instruction is not an instruction!
  %11 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %10, 1, !dbg !1580
Use of instruction is not an instruction!
  %15 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %14, 1, !dbg !1580
Use of instruction is not an instruction!
  %19 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %18, 1, !dbg !1580
Use of instruction is not an instruction!
  %23 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %22, 1, !dbg !1580
Use of instruction is not an instruction!
  %27 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %26, 1, !dbg !1580
Use of instruction is not an instruction!
  %31 = insertvalue %runtime._interface { i32 ptrtoint (%runtime.typeInInterface* @"typeInInterface:reflect/types.type:named:image/color.RGBA" to i32), i8* undef }, i8* %30, 1, !dbg !1580
Use of instruction is not an instruction!
[...more lines following...]

image/gif

This package cannot be imported because the following dependencies cannot be compiled:

image/jpeg

The compiler gave the following error when this package was imported:

panic: todo: store

goroutine 1 [running]:
github.com/tinygo-org/tinygo/interp.(*Eval).hasLocalSideEffects(0xc0023f5e90, 0xc002694560, 0x7fece019a910, 0xc004304200)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:179 +0x1d2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc0023f5e90, 0x7fecec017cd8, 0x7fecec017cd8)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:95 +0x4aa
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc0023f5e90, 0x7fecec020a88, 0x7fecec020a88)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc0023f5e90, 0x7fecec021518, 0x1)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc0026952b8, 0x7fecefeb3060, 0x7fecefeb2cc0, 0x0, 0x0, 0x0, 0x0, 0xc003094f90, 0x1, 0x1, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/frame.go:426 +0x4dc4
github.com/tinygo-org/tinygo/interp.(*Eval).function(0xc0023f5e90, 0x7fecec021428, 0xc0026953f8, 0x2, 0x2, 0xc005452640, 0xa, 0x0, 0x0, 0x0, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:104 +0x208
[...more lines following...]

image/png

The compiler gave the following error when this package was imported:

panic: todo: store

goroutine 1 [running]:
github.com/tinygo-org/tinygo/interp.(*Eval).hasLocalSideEffects(0xc004288720, 0xc006988560, 0x7f672cb55190, 0xc0043f6600)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:179 +0x1d2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004288720, 0x7f67380598f8, 0x7f67380598f8)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:95 +0x4aa
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004288720, 0x7f673803c9c8, 0x7f673803c9c8)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004288720, 0x7f673803d348, 0x1)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc0069892b8, 0x7f672c394330, 0x7f672c393f30, 0x0, 0x0, 0x0, 0x0, 0xc006f738a8, 0x1, 0x1, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/frame.go:426 +0x4dc4
github.com/tinygo-org/tinygo/interp.(*Eval).function(0xc004288720, 0x7f673803d258, 0xc0069893f8, 0x2, 0x2, 0xc006f92650, 0x9, 0x0, 0x0, 0x0, ...)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/interp.go:104 +0x208
[...more lines following...]

log/syslog

This package cannot be imported because the following dependencies cannot be compiled:

math/big

The compiler gave the following error when this package was imported:

panic: todo: store

goroutine 1 [running]:
github.com/tinygo-org/tinygo/interp.(*Eval).hasLocalSideEffects(0xc004ebea20, 0xc0035f1b10, 0x32162a0, 0xdc6c00)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:179 +0x1d2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004ebea20, 0x7f5c5003a158, 0x7f5c5003a158)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:95 +0x4aa
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004ebea20, 0x7f5c5003a098, 0x7f5c5003a098)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004ebea20, 0x7f5c5003a338, 0x7f5c5003a338)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004ebea20, 0x7f5c5003a658, 0x7f5c5003a658)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
github.com/tinygo-org/tinygo/interp.(*Eval).hasSideEffects(0xc004ebea20, 0x7f5c50037358, 0x7f5c50037358)
    /home/ayke/src/github.com/tinygo-org/tinygo/interp/scan.go:100 +0x4f2
[...more lines following...]

mime

This package cannot be imported because the following dependencies cannot be compiled:

mime/multipart

This package cannot be imported because the following dependencies cannot be compiled:

net

The compiler gave the following error when this package was imported:

# internal/singleflight
../../../../../usr/local/go/src/internal/singleflight/singleflight.go:13:10: WaitGroup not declared by package sync

net/http

This package cannot be imported because the following dependencies cannot be compiled:

net/http/cgi

This package cannot be imported because the following dependencies cannot be compiled:

net/http/cookiejar

This package cannot be imported because the following dependencies cannot be compiled:

net/http/fcgi

This package cannot be imported because the following dependencies cannot be compiled:

net/http/httptest

This package cannot be imported because the following dependencies cannot be compiled:

net/http/httptrace

This package cannot be imported because the following dependencies cannot be compiled:

net/http/httputil

This package cannot be imported because the following dependencies cannot be compiled:

net/http/pprof

This package cannot be imported because the following dependencies cannot be compiled:

net/mail

This package cannot be imported because the following dependencies cannot be compiled:

net/rpc

This package cannot be imported because the following dependencies cannot be compiled:

net/rpc/jsonrpc

This package cannot be imported because the following dependencies cannot be compiled:

net/smtp

This package cannot be imported because the following dependencies cannot be compiled:

net/textproto

This package cannot be imported because the following dependencies cannot be compiled:

os/exec

The compiler gave the following error when this package was imported:

# os/exec
../../../../../usr/local/go/src/os/exec/exec.go:125:14: Process not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:129:19: ProcessState not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:429:6: ProcessState not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:618:20: Pipe not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:593:20: Pipe not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:551:20: Pipe not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:392:22: StartProcess not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:392:57: ProcAttr not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:268:27: DevNull not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:280:20: Pipe not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:223:23: DevNull not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:235:20: Pipe not declared by package os
../../../../../usr/local/go/src/os/exec/exec.go:206:12: Environ not declared by package os

os/signal

The compiler gave the following error when this package was imported:

# os/signal
../../../../../usr/local/go/src/os/signal/signal.go:15:18: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:27:14: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:50:23: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:85:23: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:90:21: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:111:25: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:111:43: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:155:22: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:162:23: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:214:21: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal_unix.go:36:20: Signal not declared by package os
../../../../../usr/local/go/src/os/signal/signal.go:122:36: Signal not declared by package os

os/user

The compiler gave the following error when this package was imported:

# os/user
../../../../../usr/local/go/src/os/user/lookup.go:62:9: undeclared name: listGroups
../../../../../usr/local/go/src/os/user/lookup.go:57:9: undeclared name: lookupGroupId
../../../../../usr/local/go/src/os/user/lookup.go:51:9: undeclared name: lookupGroup
../../../../../usr/local/go/src/os/user/lookup.go:45:9: undeclared name: lookupUserId
../../../../../usr/local/go/src/os/user/lookup.go:36:9: undeclared name: lookupUser
../../../../../usr/local/go/src/os/user/lookup.go:15:41: undeclared name: current

testing

This package cannot be imported because the following dependencies cannot be compiled:

testing/quick

This package cannot be imported because the following dependencies cannot be compiled:

text/template

This package cannot be imported because the following dependencies cannot be compiled:

text/template/parse

The compiler gave the following error when this package was imported:

# text/template/parse
../../../../../usr/local/go/src/text/template/parse/parse.go:193:26: Error not declared by package runtime