Documentation ¶
Overview ¶
Package facades provides mockable interfaces for nearly every package in the standard library.
Each package contains an Interface and a concrete Impl for its corresponding std package.
Directories ¶
Path | Synopsis |
---|---|
archive
|
|
tar
Package tar provides a mockable wrapper for archive/tar.
|
Package tar provides a mockable wrapper for archive/tar. |
zip
Package zip provides a mockable wrapper for archive/zip.
|
Package zip provides a mockable wrapper for archive/zip. |
Package bufio provides a mockable wrapper for bufio.
|
Package bufio provides a mockable wrapper for bufio. |
Package bytes provides a mockable wrapper for bytes.
|
Package bytes provides a mockable wrapper for bytes. |
compress
|
|
bzip2
Package bzip2 provides a mockable wrapper for compress/bzip2.
|
Package bzip2 provides a mockable wrapper for compress/bzip2. |
flate
Package flate provides a mockable wrapper for compress/flate.
|
Package flate provides a mockable wrapper for compress/flate. |
gzip
Package gzip provides a mockable wrapper for compress/gzip.
|
Package gzip provides a mockable wrapper for compress/gzip. |
lzw
Package lzw provides a mockable wrapper for compress/lzw.
|
Package lzw provides a mockable wrapper for compress/lzw. |
zlib
Package zlib provides a mockable wrapper for compress/zlib.
|
Package zlib provides a mockable wrapper for compress/zlib. |
container
|
|
heap
Package heap provides a mockable wrapper for container/heap.
|
Package heap provides a mockable wrapper for container/heap. |
list
Package list provides a mockable wrapper for container/list.
|
Package list provides a mockable wrapper for container/list. |
ring
Package ring provides a mockable wrapper for container/ring.
|
Package ring provides a mockable wrapper for container/ring. |
Package context provides a mockable wrapper for context.
|
Package context provides a mockable wrapper for context. |
Package crypto provides a mockable wrapper for crypto.
|
Package crypto provides a mockable wrapper for crypto. |
aes
Package aes provides a mockable wrapper for crypto/aes.
|
Package aes provides a mockable wrapper for crypto/aes. |
cipher
Package cipher provides a mockable wrapper for crypto/cipher.
|
Package cipher provides a mockable wrapper for crypto/cipher. |
des
Package des provides a mockable wrapper for crypto/des.
|
Package des provides a mockable wrapper for crypto/des. |
dsa
Package dsa provides a mockable wrapper for crypto/dsa.
|
Package dsa provides a mockable wrapper for crypto/dsa. |
ecdsa
Package ecdsa provides a mockable wrapper for crypto/ecdsa.
|
Package ecdsa provides a mockable wrapper for crypto/ecdsa. |
ed25519
Package ed25519 provides a mockable wrapper for crypto/ed25519.
|
Package ed25519 provides a mockable wrapper for crypto/ed25519. |
elliptic
Package elliptic provides a mockable wrapper for crypto/elliptic.
|
Package elliptic provides a mockable wrapper for crypto/elliptic. |
hmac
Package hmac provides a mockable wrapper for crypto/hmac.
|
Package hmac provides a mockable wrapper for crypto/hmac. |
md5
Package md5 provides a mockable wrapper for crypto/md5.
|
Package md5 provides a mockable wrapper for crypto/md5. |
rand
Package rand provides a mockable wrapper for crypto/rand.
|
Package rand provides a mockable wrapper for crypto/rand. |
rc4
Package rc4 provides a mockable wrapper for crypto/rc4.
|
Package rc4 provides a mockable wrapper for crypto/rc4. |
rsa
Package rsa provides a mockable wrapper for crypto/rsa.
|
Package rsa provides a mockable wrapper for crypto/rsa. |
sha1
Package sha1 provides a mockable wrapper for crypto/sha1.
|
Package sha1 provides a mockable wrapper for crypto/sha1. |
sha256
Package sha256 provides a mockable wrapper for crypto/sha256.
|
Package sha256 provides a mockable wrapper for crypto/sha256. |
sha512
Package sha512 provides a mockable wrapper for crypto/sha512.
|
Package sha512 provides a mockable wrapper for crypto/sha512. |
subtle
Package subtle provides a mockable wrapper for crypto/subtle.
|
Package subtle provides a mockable wrapper for crypto/subtle. |
tls
Package tls provides a mockable wrapper for crypto/tls.
|
Package tls provides a mockable wrapper for crypto/tls. |
x509
Package x509 provides a mockable wrapper for crypto/x509.
|
Package x509 provides a mockable wrapper for crypto/x509. |
database
|
|
sql
Package sql provides a mockable wrapper for database/sql.
|
Package sql provides a mockable wrapper for database/sql. |
sql/driver
Package driver provides a mockable wrapper for database/sql/driver.
|
Package driver provides a mockable wrapper for database/sql/driver. |
debug
|
|
buildinfo
Package buildinfo provides a mockable wrapper for debug/buildinfo.
|
Package buildinfo provides a mockable wrapper for debug/buildinfo. |
dwarf
Package dwarf provides a mockable wrapper for debug/dwarf.
|
Package dwarf provides a mockable wrapper for debug/dwarf. |
elf
Package elf provides a mockable wrapper for debug/elf.
|
Package elf provides a mockable wrapper for debug/elf. |
gosym
Package gosym provides a mockable wrapper for debug/gosym.
|
Package gosym provides a mockable wrapper for debug/gosym. |
macho
Package macho provides a mockable wrapper for debug/macho.
|
Package macho provides a mockable wrapper for debug/macho. |
pe
Package pe provides a mockable wrapper for debug/pe.
|
Package pe provides a mockable wrapper for debug/pe. |
plan9obj
Package plan9obj provides a mockable wrapper for debug/plan9obj.
|
Package plan9obj provides a mockable wrapper for debug/plan9obj. |
ascii85
Package ascii85 provides a mockable wrapper for encoding/ascii85.
|
Package ascii85 provides a mockable wrapper for encoding/ascii85. |
asn1
Package asn1 provides a mockable wrapper for encoding/asn1.
|
Package asn1 provides a mockable wrapper for encoding/asn1. |
base32
Package base32 provides a mockable wrapper for encoding/base32.
|
Package base32 provides a mockable wrapper for encoding/base32. |
base64
Package base64 provides a mockable wrapper for encoding/base64.
|
Package base64 provides a mockable wrapper for encoding/base64. |
binary
Package binary provides a mockable wrapper for encoding/binary.
|
Package binary provides a mockable wrapper for encoding/binary. |
csv
Package csv provides a mockable wrapper for encoding/csv.
|
Package csv provides a mockable wrapper for encoding/csv. |
gob
Package gob provides a mockable wrapper for encoding/gob.
|
Package gob provides a mockable wrapper for encoding/gob. |
hex
Package hex provides a mockable wrapper for encoding/hex.
|
Package hex provides a mockable wrapper for encoding/hex. |
json
Package json provides a mockable wrapper for encoding/json.
|
Package json provides a mockable wrapper for encoding/json. |
pem
Package pem provides a mockable wrapper for encoding/pem.
|
Package pem provides a mockable wrapper for encoding/pem. |
xml
Package xml provides a mockable wrapper for encoding/xml.
|
Package xml provides a mockable wrapper for encoding/xml. |
Package errors provides a mockable wrapper for errors.
|
Package errors provides a mockable wrapper for errors. |
Package expvar provides a mockable wrapper for expvar.
|
Package expvar provides a mockable wrapper for expvar. |
Package flag provides a mockable wrapper for flag.
|
Package flag provides a mockable wrapper for flag. |
Package fmt provides a mockable wrapper for fmt.
|
Package fmt provides a mockable wrapper for fmt. |
go
|
|
ast
Package ast provides a mockable wrapper for go/ast.
|
Package ast provides a mockable wrapper for go/ast. |
build
Package build provides a mockable wrapper for go/build.
|
Package build provides a mockable wrapper for go/build. |
build/constraint
Package constraint provides a mockable wrapper for go/build/constraint.
|
Package constraint provides a mockable wrapper for go/build/constraint. |
constant
Package constant provides a mockable wrapper for go/constant.
|
Package constant provides a mockable wrapper for go/constant. |
doc
Package doc provides a mockable wrapper for go/doc.
|
Package doc provides a mockable wrapper for go/doc. |
format
Package format provides a mockable wrapper for go/format.
|
Package format provides a mockable wrapper for go/format. |
importer
Package importer provides a mockable wrapper for go/importer.
|
Package importer provides a mockable wrapper for go/importer. |
parser
Package parser provides a mockable wrapper for go/parser.
|
Package parser provides a mockable wrapper for go/parser. |
printer
Package printer provides a mockable wrapper for go/printer.
|
Package printer provides a mockable wrapper for go/printer. |
scanner
Package scanner provides a mockable wrapper for go/scanner.
|
Package scanner provides a mockable wrapper for go/scanner. |
token
Package token provides a mockable wrapper for go/token.
|
Package token provides a mockable wrapper for go/token. |
types
Package types provides a mockable wrapper for go/types.
|
Package types provides a mockable wrapper for go/types. |
adler32
Package adler32 provides a mockable wrapper for hash/adler32.
|
Package adler32 provides a mockable wrapper for hash/adler32. |
crc32
Package crc32 provides a mockable wrapper for hash/crc32.
|
Package crc32 provides a mockable wrapper for hash/crc32. |
crc64
Package crc64 provides a mockable wrapper for hash/crc64.
|
Package crc64 provides a mockable wrapper for hash/crc64. |
fnv
Package fnv provides a mockable wrapper for hash/fnv.
|
Package fnv provides a mockable wrapper for hash/fnv. |
maphash
Package maphash provides a mockable wrapper for hash/maphash.
|
Package maphash provides a mockable wrapper for hash/maphash. |
Package html provides a mockable wrapper for html.
|
Package html provides a mockable wrapper for html. |
template
Package template provides a mockable wrapper for html/template.
|
Package template provides a mockable wrapper for html/template. |
Package image provides a mockable wrapper for image.
|
Package image provides a mockable wrapper for image. |
color
Package color provides a mockable wrapper for image/color.
|
Package color provides a mockable wrapper for image/color. |
draw
Package draw provides a mockable wrapper for image/draw.
|
Package draw provides a mockable wrapper for image/draw. |
gif
Package gif provides a mockable wrapper for image/gif.
|
Package gif provides a mockable wrapper for image/gif. |
jpeg
Package jpeg provides a mockable wrapper for image/jpeg.
|
Package jpeg provides a mockable wrapper for image/jpeg. |
png
Package png provides a mockable wrapper for image/png.
|
Package png provides a mockable wrapper for image/png. |
index
|
|
suffixarray
Package suffixarray provides a mockable wrapper for index/suffixarray.
|
Package suffixarray provides a mockable wrapper for index/suffixarray. |
Package io provides a mockable wrapper for io.
|
Package io provides a mockable wrapper for io. |
fs
Package fs provides a mockable wrapper for io/fs.
|
Package fs provides a mockable wrapper for io/fs. |
ioutil
Package ioutil provides a mockable wrapper for io/ioutil.
|
Package ioutil provides a mockable wrapper for io/ioutil. |
Package log provides a mockable wrapper for log.
|
Package log provides a mockable wrapper for log. |
syslog
Package syslog provides a mockable wrapper for log/syslog.
|
Package syslog provides a mockable wrapper for log/syslog. |
Package math provides a mockable wrapper for math.
|
Package math provides a mockable wrapper for math. |
big
Package big provides a mockable wrapper for math/big.
|
Package big provides a mockable wrapper for math/big. |
bits
Package bits provides a mockable wrapper for math/bits.
|
Package bits provides a mockable wrapper for math/bits. |
cmplx
Package cmplx provides a mockable wrapper for math/cmplx.
|
Package cmplx provides a mockable wrapper for math/cmplx. |
rand
Package rand provides a mockable wrapper for math/rand.
|
Package rand provides a mockable wrapper for math/rand. |
Package mime provides a mockable wrapper for mime.
|
Package mime provides a mockable wrapper for mime. |
multipart
Package multipart provides a mockable wrapper for mime/multipart.
|
Package multipart provides a mockable wrapper for mime/multipart. |
quotedprintable
Package quotedprintable provides a mockable wrapper for mime/quotedprintable.
|
Package quotedprintable provides a mockable wrapper for mime/quotedprintable. |
Package net provides a mockable wrapper for net.
|
Package net provides a mockable wrapper for net. |
http
Package http provides a mockable wrapper for net/http.
|
Package http provides a mockable wrapper for net/http. |
http/cgi
Package cgi provides a mockable wrapper for net/http/cgi.
|
Package cgi provides a mockable wrapper for net/http/cgi. |
http/cookiejar
Package cookiejar provides a mockable wrapper for net/http/cookiejar.
|
Package cookiejar provides a mockable wrapper for net/http/cookiejar. |
http/fcgi
Package fcgi provides a mockable wrapper for net/http/fcgi.
|
Package fcgi provides a mockable wrapper for net/http/fcgi. |
http/httptest
Package httptest provides a mockable wrapper for net/http/httptest.
|
Package httptest provides a mockable wrapper for net/http/httptest. |
http/httptrace
Package httptrace provides a mockable wrapper for net/http/httptrace.
|
Package httptrace provides a mockable wrapper for net/http/httptrace. |
http/httputil
Package httputil provides a mockable wrapper for net/http/httputil.
|
Package httputil provides a mockable wrapper for net/http/httputil. |
http/pprof
Package pprof provides a mockable wrapper for net/http/pprof.
|
Package pprof provides a mockable wrapper for net/http/pprof. |
mail
Package mail provides a mockable wrapper for net/mail.
|
Package mail provides a mockable wrapper for net/mail. |
netip
Package netip provides a mockable wrapper for net/netip.
|
Package netip provides a mockable wrapper for net/netip. |
rpc
Package rpc provides a mockable wrapper for net/rpc.
|
Package rpc provides a mockable wrapper for net/rpc. |
rpc/jsonrpc
Package jsonrpc provides a mockable wrapper for net/rpc/jsonrpc.
|
Package jsonrpc provides a mockable wrapper for net/rpc/jsonrpc. |
smtp
Package smtp provides a mockable wrapper for net/smtp.
|
Package smtp provides a mockable wrapper for net/smtp. |
textproto
Package textproto provides a mockable wrapper for net/textproto.
|
Package textproto provides a mockable wrapper for net/textproto. |
url
Package url provides a mockable wrapper for net/url.
|
Package url provides a mockable wrapper for net/url. |
Package os provides a mockable wrapper for os.
|
Package os provides a mockable wrapper for os. |
exec
Package exec provides a mockable wrapper for os/exec.
|
Package exec provides a mockable wrapper for os/exec. |
signal
Package signal provides a mockable wrapper for os/signal.
|
Package signal provides a mockable wrapper for os/signal. |
user
Package user provides a mockable wrapper for os/user.
|
Package user provides a mockable wrapper for os/user. |
Package path provides a mockable wrapper for path.
|
Package path provides a mockable wrapper for path. |
filepath
Package filepath provides a mockable wrapper for path/filepath.
|
Package filepath provides a mockable wrapper for path/filepath. |
Package plugin provides a mockable wrapper for plugin.
|
Package plugin provides a mockable wrapper for plugin. |
Package reflect provides a mockable wrapper for reflect.
|
Package reflect provides a mockable wrapper for reflect. |
Package regexp provides a mockable wrapper for regexp.
|
Package regexp provides a mockable wrapper for regexp. |
syntax
Package syntax provides a mockable wrapper for regexp/syntax.
|
Package syntax provides a mockable wrapper for regexp/syntax. |
Package runtime provides a mockable wrapper for runtime.
|
Package runtime provides a mockable wrapper for runtime. |
cgo
Package cgo provides a mockable wrapper for runtime/cgo.
|
Package cgo provides a mockable wrapper for runtime/cgo. |
debug
Package debug provides a mockable wrapper for runtime/debug.
|
Package debug provides a mockable wrapper for runtime/debug. |
metrics
Package metrics provides a mockable wrapper for runtime/metrics.
|
Package metrics provides a mockable wrapper for runtime/metrics. |
pprof
Package pprof provides a mockable wrapper for runtime/pprof.
|
Package pprof provides a mockable wrapper for runtime/pprof. |
trace
Package trace provides a mockable wrapper for runtime/trace.
|
Package trace provides a mockable wrapper for runtime/trace. |
Package sort provides a mockable wrapper for sort.
|
Package sort provides a mockable wrapper for sort. |
Package strconv provides a mockable wrapper for strconv.
|
Package strconv provides a mockable wrapper for strconv. |
Package strings provides a mockable wrapper for strings.
|
Package strings provides a mockable wrapper for strings. |
Package sync provides a mockable wrapper for sync.
|
Package sync provides a mockable wrapper for sync. |
atomic
Package atomic provides a mockable wrapper for sync/atomic.
|
Package atomic provides a mockable wrapper for sync/atomic. |
Package syscall provides a mockable wrapper for syscall.
|
Package syscall provides a mockable wrapper for syscall. |
Package testing provides a mockable wrapper for testing.
|
Package testing provides a mockable wrapper for testing. |
fstest
Package fstest provides a mockable wrapper for testing/fstest.
|
Package fstest provides a mockable wrapper for testing/fstest. |
iotest
Package iotest provides a mockable wrapper for testing/iotest.
|
Package iotest provides a mockable wrapper for testing/iotest. |
quick
Package quick provides a mockable wrapper for testing/quick.
|
Package quick provides a mockable wrapper for testing/quick. |
text
|
|
scanner
Package scanner provides a mockable wrapper for text/scanner.
|
Package scanner provides a mockable wrapper for text/scanner. |
tabwriter
Package tabwriter provides a mockable wrapper for text/tabwriter.
|
Package tabwriter provides a mockable wrapper for text/tabwriter. |
template
Package template provides a mockable wrapper for text/template.
|
Package template provides a mockable wrapper for text/template. |
template/parse
Package parse provides a mockable wrapper for text/template/parse.
|
Package parse provides a mockable wrapper for text/template/parse. |
Package time provides a mockable wrapper for time.
|
Package time provides a mockable wrapper for time. |
Package unicode provides a mockable wrapper for unicode.
|
Package unicode provides a mockable wrapper for unicode. |
utf16
Package utf16 provides a mockable wrapper for unicode/utf16.
|
Package utf16 provides a mockable wrapper for unicode/utf16. |
utf8
Package utf8 provides a mockable wrapper for unicode/utf8.
|
Package utf8 provides a mockable wrapper for unicode/utf8. |
Click to show internal directories.
Click to hide internal directories.