test

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffBytes

func DiffBytes(str1 string, str2 string)

func EqualMessage

func EqualMessage(e1 error, e2 error) bool

compare human readable error message, ignoring wrapped objects

Types

type BrokenWriter

type BrokenWriter struct {
}

func (*BrokenWriter) Write

func (s *BrokenWriter) Write(_ []byte) (int, error)

type ByteWriter

type ByteWriter struct {
	// contains filtered or unexported fields
}

func (*ByteWriter) Bytes

func (s *ByteWriter) Bytes() []byte

func (*ByteWriter) Write

func (s *ByteWriter) Write(b []byte) (int, error)

type StringWriter

type StringWriter struct {
	// contains filtered or unexported fields
}

func (*StringWriter) String

func (s *StringWriter) String() string

func (*StringWriter) Write

func (s *StringWriter) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL