Skip to content

Instantly share code, notes, and snippets.

@keyist
Last active January 3, 2016 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyist/a0341307a24164ea4dd1 to your computer and use it in GitHub Desktop.
Save keyist/a0341307a24164ea4dd1 to your computer and use it in GitHub Desktop.
Go/ast Rider output on Go standard library changes between 1.1.2 and 1.2 Edit: updated for goastrider 0.6
hg clone https://code.google.com/p/go -u go1.2 go12
hg clone go12/ -u go1.1.2 go112/
goastrider go{112,12}/src/pkg > go12changes.txt
M Package archive/zip
A func RegisterCompressor(uint16, Compressor)
A (*File) func DataOffset() (int64, error)
A func RegisterDecompressor(uint16, Decompressor)
A type Compressor func(io.Writer) (io.WriteCloser, error)
A type Decompressor func(io.Reader) io.ReadCloser
M Package bufio
A (*Reader) func Reset(io.Reader)
A (*Writer) func Reset(io.Writer)
M Package compress/bzip2
M -(huffmanTree) func Decode(*bitReader) uint16
+(*huffmanTree) func Decode(*bitReader) uint16
A (*bitReader) func TryReadBit() (byte, bool)
M Package compress/flate
A (*Writer) func Reset(io.Writer)
M Package compress/gzip
A (*Writer) func Reset(io.Writer)
M Package compress/zlib
A (*Writer) func Reset(io.Writer)
M Package container/heap
A func Fix(Interface, int)
M Package container/list
A (*List) func MoveAfter(*Element, *Element)
A (*List) func MoveBefore(*Element, *Element)
M Package crypto
A type PublicKey interface{}
M Package crypto/cipher
A type AEAD interface {
NonceSize() int
Overhead() int
Seal(dst, nonce, plaintext, data []byte) []byte
Open(dst, nonce, ciphertext, data []byte) ([]byte, error)
}
A (*gcm) func Seal([]byte, []byte, []byte, []byte) []byte
A (*gcm) func Open([]byte, []byte, []byte, []byte) ([]byte, error)
A (*gcm) func NonceSize() int
A (*cbcDecrypter) func SetIV([]byte)
A func NewGCM(Block) (AEAD, error)
A (*gcm) func Overhead() int
A (*cbcEncrypter) func SetIV([]byte)
M Package crypto/elliptic
A (p256Curve) func ScalarMult(*big.Int, *big.Int, []byte) (*big.Int, *big.Int)
A (p256Curve) func Params() *CurveParams
A (p256Curve) func ScalarBaseMult([]byte) (*big.Int, *big.Int)
M Package crypto/md5
A func Sum([]byte) [Size]byte
M Package crypto/rsa
A type PSSOptions struct{ SaltLength int }
A func SignPSS(io.Reader, *PrivateKey, crypto.Hash, []byte, *PSSOptions) ([]byte, error)
A func VerifyPSS(*PublicKey, crypto.Hash, []byte, []byte, *PSSOptions) error
M Package crypto/sha1
A func Sum([]byte) [Size]byte
M Package crypto/sha256
A func Sum256([]byte) [Size]byte
A func Sum224([]byte) [Size224]byte
M Package crypto/sha512
A func Sum512([]byte) [Size]byte
A func Sum384([]byte) [Size384]byte
M Package crypto/subtle
A func ConstantTimeLessOrEq(int, int) int
M Package crypto/tls
M -(ssl30MAC) func MAC([]byte, []byte, []byte) []byte
+(ssl30MAC) func MAC([]byte, []byte, []byte, []byte) []byte
M type Config struct {
A MinVersion uint16
A MaxVersion uint16
}
M -(tls10MAC) func MAC([]byte, []byte, []byte) []byte
+(tls10MAC) func MAC([]byte, []byte, []byte, []byte) []byte
A (*fixedNonceAEAD) func Overhead() int
A (*fixedNonceAEAD) func Open([]byte, []byte, []byte, []byte) ([]byte, error)
A (*fixedNonceAEAD) func NonceSize() int
A (*fixedNonceAEAD) func Seal([]byte, []byte, []byte, []byte) []byte
M Package crypto/x509
M type Certificate struct {
A ExtraExtensions []pkix.Extension
A CRLDistributionPoints []string
A Extensions []pkix.Extension
A OCSPServer []string
A IssuingCertificateURL []string
}
A func MarshalECPrivateKey(*ecdsa.PrivateKey) ([]byte, error)
M Package database/sql
A (*DB) func SetMaxOpenConns(int)
A Package encoding
M Package encoding/xml
A (*printer) func EscapeString(string)
A type Marshaler interface {
MarshalXML(e *Encoder, start StartElement) error
}
A type Unmarshaler interface {
UnmarshalXML(d *Decoder, start StartElement) error
}
A type MarshalerAttr interface {
MarshalXMLAttr(name Name) (Attr, error)
}
A (*Encoder) func EncodeElement(interface{}, StartElement) error
A (*Encoder) func Flush() error
A type UnmarshalerAttr interface {
UnmarshalXMLAttr(attr Attr) error
}
A (*Encoder) func EncodeToken(Token) error
A (StartElement) func End() EndElement
M Package flag
A (*float64Value) func Get() interface{}
A (*durationValue) func Get() interface{}
A (*intValue) func Get() interface{}
A (*uint64Value) func Get() interface{}
A type Getter interface {
Value
Get() interface{}
}
A (*int64Value) func Get() interface{}
A (*boolValue) func Get() interface{}
A (*stringValue) func Get() interface{}
A (*uintValue) func Get() interface{}
M Package go/ast
D (byImportPath) func Len() int
M type TypeAssertExpr struct {
A Lparen token.Pos
A Rparen token.Pos
}
D (byImportPath) func Less(int, int) bool
M type SliceExpr struct {
A Max Expr
A Slice3 bool
}
D (byImportPath) func Swap(int, int)
A (byImportSpec) func Less(int, int) bool
A (byImportSpec) func Swap(int, int)
A (byImportSpec) func Len() int
M Package go/build
M type Package struct {
A CgoCXXFLAGS []string
A ConflictDir string
A AllTags []string
A CgoCPPFLAGS []string
A CXXFiles []string
}
A (*Context) func MatchFile(string, string) (bool, error)
A Package go/doc/testdata/bugpara
M Package go/token
A (*File) func MergeLine(int)
M Package html/template
M type Template struct {
A Tree *parse.Tree
}
M Package image/draw
A type Quantizer interface {
Quantize(p color.Palette, m image.Image) color.Palette
}
A (Op) func Draw(Image, image.Rectangle, image.Image, image.Point)
A type Drawer interface {
Draw(dst Image, r image.Rectangle, src image.Image, sp image.Point)
}
A (floydSteinberg) func Draw(Image, image.Rectangle, image.Image, image.Point)
M Package image/gif
A (blockWriter) func Write([]byte) (int, error)
A type Options struct {
NumColors int
Quantizer draw.Quantizer
Drawer draw.Drawer
}
A func EncodeAll(io.Writer, *GIF) error
A func Encode(io.Writer, image.Image, *Options) error
M Package io/ioutil
A (devNull) func WriteString(string) (int, error)
M Package net
M type Dialer struct {
A DualStack bool
}
D (*pollServer) func CheckDeadlines()
D (*pollServer) func Wakeup()
D (*pollster) func Close() error
D (*pollster) func WaitFD(*pollServer, int64) (int, int, error)
D (*pollServer) func AddFD(*pollDesc, int) error
D (*pollster) func AddFD(int, int, bool) (bool, error)
D (stringAddr) func String() string
D (*pollServer) func Evict(*pollDesc) bool
D (*pollster) func DelFD(int, int) bool
D (stringAddr) func Network() string
D (*pollServer) func Run()
D (*pollServer) func LookupFD(int, int) *pollDesc
D (*pollServer) func WakeFD(*pollDesc, int, error)
A (*pollDesc) func WaitCanceledWrite()
A (*pollDesc) func WaitCanceledRead()
A (*pollDesc) func Wait(int) error
A (IP) func MarshalText() ([]byte, error)
A (*fdMutex) func IncrefAndClose() bool
A (*fdMutex) func Decref() bool
A (*fdMutex) func RWLock(bool) bool
A (*fdMutex) func Incref() bool
A (*pollDesc) func WaitCanceled(int)
A (*singleflight) func Do(string, func() (interface{}, error)) (interface{}, error, bool)
A (*IP) func UnmarshalText([]byte) error
A (*fdMutex) func RWUnlock(bool) bool
A (*TCPConn) func SetKeepAlivePeriod(time.Duration) error
A (*pollDesc) func Prepare(int) error
M Package net/http
M -(extraHeader) func Write(io.Writer)
+(extraHeader) func Write(*bufio.Writer)
A (*response) func WriteString(string) (int, error)
M Package net/http/httputil
A (neverEnding) func Read([]byte) (int, error)
M Package net/smtp
A (*Client) func Close() error
M Package os/exec
A (*closeOnce) func Close() error
M Package reflect
A (Value) func Slice3(int, int, int) Value
A (Value) func SetCap(int)
M Package runtime
M type MemStats struct {
A GCSys uint64
A OtherSys uint64
}
A (errorCString) func Error() string
A func RaceReadRange(unsafe.Pointer, int)
A (errorCString) func RuntimeError()
A func RaceWriteRange(unsafe.Pointer, int)
M Package runtime/debug
A func SetMaxStack(int) int
A func SetMaxThreads(int) int
M Package runtime/race
M -func ReadRange(uintptr, uintptr, uintptr, uintptr, uintptr)
+func ReadRange(uintptr, uintptr, uintptr, uintptr)
M -func WriteRange(uintptr, uintptr, uintptr, uintptr, uintptr)
+func WriteRange(uintptr, uintptr, uintptr, uintptr)
M Package sort
A func Stable(Interface)
M Package strings
A func IndexByte(string, byte) int
M Package sync/atomic
A func SwapInt32(*int32, int32) int32
A func SwapInt64(*int64, int64) int64
A func SwapUint32(*uint32, uint32) uint32
A func SwapUint64(*uint64, uint64) uint64
A func SwapUintptr(*uintptr, uintptr) uintptr
A func SwapPointer(*unsafe.Pointer, unsafe.Pointer) unsafe.Pointer
M Package syscall
A func SetsockoptICMPv6Filter(int, int, int, *ICMPv6Filter) error
A func GetsockoptIPv6MTUInfo(int, int, int) (*IPv6MTUInfo, error)
A func GetsockoptICMPv6Filter(int, int, int) (*ICMPv6Filter, error)
M Package testing
A type CoverBlock struct {
Line0 uint32
Col0 uint16
Line1 uint32
Col1 uint16
Stmts uint16
}
A type Cover struct {
Mode string
Counters map[string][]uint32
Blocks map[string][]CoverBlock
CoveredPackages string
}
A type TB interface {
Error(args ...interface{})
Errorf(format string, args ...interface{})
Fail()
FailNow()
Failed() bool
Fatal(args ...interface{})
Fatalf(format string, args ...interface{})
Log(args ...interface{})
Logf(format string, args ...interface{})
Skip(args ...interface{})
SkipNow()
Skipf(format string, args ...interface{})
Skipped() bool
}
A func RegisterCover(Cover)
M Package text/template/parse
A (*Tree) func Copy() *Tree
M Package time
A (Time) func MarshalBinary() ([]byte, error)
A (*Time) func UnmarshalBinary([]byte) error
A (*Time) func UnmarshalText([]byte) error
A (Time) func MarshalText() ([]byte, error)
A Package main
M Package unicode
A func In(rune, ...*RangeTable) bool
@keyist
Copy link
Author

keyist commented Jan 14, 2014

Note that when run in terminal, the output has traditional red/green diff coloring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment