diff options
author | Robert Griesemer <gri@golang.org> | 2013-08-08 14:10:59 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2013-08-08 14:10:59 -0700 |
commit | 95320715f5ac1592787a227089d5ade0bc1fa14b (patch) | |
tree | 468db48697e3158996d056a19df05d70eae59d82 /api | |
parent | 849a8c5a1f626bfe0ada1a2165741e47a9f986a3 (diff) | |
download | go-95320715f5ac1592787a227089d5ade0bc1fa14b.tar.gz |
cmd/api: rewrite using go/types
- adjusted test files so that they actually type-check
- adjusted go1.txt, go1.1.txt, next.txt
- to run, provide build tag: api_tool
Fixes issue 4538.
R=bradfitz
CC=golang-dev
https://codereview.appspot.com/12300043
Diffstat (limited to 'api')
-rw-r--r-- | api/go1.1.txt | 2 | ||||
-rw-r--r-- | api/go1.txt | 94 | ||||
-rw-r--r-- | api/next.txt | 133 |
3 files changed, 190 insertions, 39 deletions
diff --git a/api/go1.1.txt b/api/go1.1.txt index 0d0b5e380..2362a75f9 100644 --- a/api/go1.1.txt +++ b/api/go1.1.txt @@ -92,6 +92,7 @@ pkg encoding/json, method (Number) String() string pkg encoding/json, type Number string pkg encoding/xml, func EscapeText(io.Writer, []uint8) error pkg encoding/xml, method (*Encoder) Indent(string, string) +pkg encoding/xml, method (Encoder) ReadFrom(io.Reader) (int64, error) pkg encoding/xml, type Decoder struct, DefaultSpace string pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap pkg go/ast, method (CommentMap) Comments() []*CommentGroup @@ -1700,6 +1701,7 @@ pkg testing, method (BenchmarkResult) AllocsPerOp() int64 pkg testing, method (BenchmarkResult) MemString() string pkg testing, type BenchmarkResult struct, MemAllocs uint64 pkg testing, type BenchmarkResult struct, MemBytes uint64 +pkg text/template, method (Template) ErrorContext(parse.Node) (string, string) pkg text/template/parse, const NodeChain NodeType pkg text/template/parse, const NodeNil NodeType pkg text/template/parse, method (*ChainNode) Add(string) diff --git a/api/go1.txt b/api/go1.txt index e934ce535..0d2e7c630 100644 --- a/api/go1.txt +++ b/api/go1.txt @@ -391,6 +391,18 @@ pkg crypto/dsa, var ErrInvalidPublicKey error pkg crypto/ecdsa, func GenerateKey(elliptic.Curve, io.Reader) (*PrivateKey, error) pkg crypto/ecdsa, func Sign(io.Reader, *PrivateKey, []uint8) (*big.Int, *big.Int, error) pkg crypto/ecdsa, func Verify(*PublicKey, []uint8, *big.Int, *big.Int) bool +pkg crypto/ecdsa, method (PrivateKey) Add(*big.Int, *big.Int, *big.Int, *big.Int) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PrivateKey) Double(*big.Int, *big.Int) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PrivateKey) IsOnCurve(*big.Int, *big.Int) bool +pkg crypto/ecdsa, method (PrivateKey) Params() *elliptic.CurveParams +pkg crypto/ecdsa, method (PrivateKey) ScalarBaseMult([]uint8) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PrivateKey) ScalarMult(*big.Int, *big.Int, []uint8) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PublicKey) Add(*big.Int, *big.Int, *big.Int, *big.Int) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PublicKey) Double(*big.Int, *big.Int) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PublicKey) IsOnCurve(*big.Int, *big.Int) bool +pkg crypto/ecdsa, method (PublicKey) Params() *elliptic.CurveParams +pkg crypto/ecdsa, method (PublicKey) ScalarBaseMult([]uint8) (*big.Int, *big.Int) +pkg crypto/ecdsa, method (PublicKey) ScalarMult(*big.Int, *big.Int, []uint8) (*big.Int, *big.Int) pkg crypto/ecdsa, type PrivateKey struct pkg crypto/ecdsa, type PrivateKey struct, D *big.Int pkg crypto/ecdsa, type PrivateKey struct, embedded PublicKey @@ -1614,6 +1626,7 @@ pkg debug/elf, method (NType) GoString() string pkg debug/elf, method (NType) String() string pkg debug/elf, method (OSABI) GoString() string pkg debug/elf, method (OSABI) String() string +pkg debug/elf, method (Prog) ReadAt([]uint8, int64) (int, error) pkg debug/elf, method (ProgFlag) GoString() string pkg debug/elf, method (ProgFlag) String() string pkg debug/elf, method (ProgType) GoString() string @@ -1630,6 +1643,7 @@ pkg debug/elf, method (R_SPARC) GoString() string pkg debug/elf, method (R_SPARC) String() string pkg debug/elf, method (R_X86_64) GoString() string pkg debug/elf, method (R_X86_64) String() string +pkg debug/elf, method (Section) ReadAt([]uint8, int64) (int, error) pkg debug/elf, method (SectionFlag) GoString() string pkg debug/elf, method (SectionFlag) String() string pkg debug/elf, method (SectionIndex) GoString() string @@ -1674,7 +1688,7 @@ pkg debug/elf, type Header32 struct pkg debug/elf, type Header32 struct, Ehsize uint16 pkg debug/elf, type Header32 struct, Entry uint32 pkg debug/elf, type Header32 struct, Flags uint32 -pkg debug/elf, type Header32 struct, Ident [EI_NIDENT]uint8 +pkg debug/elf, type Header32 struct, Ident [16]uint8 pkg debug/elf, type Header32 struct, Machine uint16 pkg debug/elf, type Header32 struct, Phentsize uint16 pkg debug/elf, type Header32 struct, Phnum uint16 @@ -1689,7 +1703,7 @@ pkg debug/elf, type Header64 struct pkg debug/elf, type Header64 struct, Ehsize uint16 pkg debug/elf, type Header64 struct, Entry uint64 pkg debug/elf, type Header64 struct, Flags uint32 -pkg debug/elf, type Header64 struct, Ident [EI_NIDENT]uint8 +pkg debug/elf, type Header64 struct, Ident [16]uint8 pkg debug/elf, type Header64 struct, Machine uint16 pkg debug/elf, type Header64 struct, Phentsize uint16 pkg debug/elf, type Header64 struct, Phnum uint16 @@ -1911,7 +1925,9 @@ pkg debug/macho, method (Dysymtab) Raw() []uint8 pkg debug/macho, method (LoadBytes) Raw() []uint8 pkg debug/macho, method (LoadCmd) GoString() string pkg debug/macho, method (LoadCmd) String() string +pkg debug/macho, method (Section) ReadAt([]uint8, int64) (int, error) pkg debug/macho, method (Segment) Raw() []uint8 +pkg debug/macho, method (Segment) ReadAt([]uint8, int64) (int, error) pkg debug/macho, method (Symtab) Raw() []uint8 pkg debug/macho, type Cpu uint32 pkg debug/macho, type Dylib struct @@ -2154,6 +2170,7 @@ pkg debug/pe, method (*File) Section(string) *Section pkg debug/pe, method (*FormatError) Error() string pkg debug/pe, method (*Section) Data() ([]uint8, error) pkg debug/pe, method (*Section) Open() io.ReadSeeker +pkg debug/pe, method (Section) ReadAt([]uint8, int64) (int, error) pkg debug/pe, type File struct pkg debug/pe, type File struct, Sections []*Section pkg debug/pe, type File struct, embedded FileHeader @@ -2408,6 +2425,13 @@ pkg encoding/xml, method (*UnsupportedTypeError) Error() string pkg encoding/xml, method (CharData) Copy() CharData pkg encoding/xml, method (Comment) Copy() Comment pkg encoding/xml, method (Directive) Copy() Directive +pkg encoding/xml, method (Encoder) Available() int +pkg encoding/xml, method (Encoder) Buffered() int +pkg encoding/xml, method (Encoder) Flush() error +pkg encoding/xml, method (Encoder) Write([]uint8) (int, error) +pkg encoding/xml, method (Encoder) WriteByte(uint8) error +pkg encoding/xml, method (Encoder) WriteRune(int32) (int, error) +pkg encoding/xml, method (Encoder) WriteString(string) (int, error) pkg encoding/xml, method (ProcInst) Copy() ProcInst pkg encoding/xml, method (StartElement) Copy() StartElement pkg encoding/xml, method (UnmarshalError) Error() string @@ -3659,7 +3683,7 @@ pkg image/draw, func Draw(Image, image.Rectangle, image.Image, image.Point, Op) pkg image/draw, func DrawMask(Image, image.Rectangle, image.Image, image.Point, image.Image, image.Point, Op) pkg image/draw, type Image interface { At, Bounds, ColorModel, Set } pkg image/draw, type Image interface, At(int, int) color.Color -pkg image/draw, type Image interface, Bounds() Rectangle +pkg image/draw, type Image interface, Bounds() image.Rectangle pkg image/draw, type Image interface, ColorModel() color.Model pkg image/draw, type Image interface, Set(int, int, color.Color) pkg image/draw, type Op int @@ -4164,7 +4188,7 @@ pkg math, func Trunc(float64) float64 pkg math, func Y0(float64) float64 pkg math, func Y1(float64) float64 pkg math, func Yn(int, float64) float64 -pkg math/big, const MaxBase ideal-int +pkg math/big, const MaxBase ideal-char pkg math/big, func NewInt(int64) *Int pkg math/big, func NewRat(int64, int64) *Rat pkg math/big, method (*Int) Abs(*Int) *Int @@ -5266,6 +5290,14 @@ pkg os/exec, method (*Cmd) StdoutPipe() (io.ReadCloser, error) pkg os/exec, method (*Cmd) Wait() error pkg os/exec, method (*Error) Error() string pkg os/exec, method (*ExitError) Error() string +pkg os/exec, method (ExitError) Exited() bool +pkg os/exec, method (ExitError) Pid() int +pkg os/exec, method (ExitError) String() string +pkg os/exec, method (ExitError) Success() bool +pkg os/exec, method (ExitError) Sys() interface{} +pkg os/exec, method (ExitError) SysUsage() interface{} +pkg os/exec, method (ExitError) SystemTime() time.Duration +pkg os/exec, method (ExitError) UserTime() time.Duration pkg os/exec, type Cmd struct pkg os/exec, type Cmd struct, Args []string pkg os/exec, type Cmd struct, Dir string @@ -5687,6 +5719,7 @@ pkg runtime, type MemProfileRecord struct, Stack0 [32]uintptr pkg runtime, type MemStats struct pkg runtime, type MemStats struct, Alloc uint64 pkg runtime, type MemStats struct, BuckHashSys uint64 +pkg runtime, type MemStats struct, BySize [61]struct pkg runtime, type MemStats struct, DebugGC bool pkg runtime, type MemStats struct, EnableGC bool pkg runtime, type MemStats struct, Frees uint64 @@ -28803,12 +28836,12 @@ pkg syscall (windows-386), type InterfaceInfo struct, BroadcastAddress SockaddrG pkg syscall (windows-386), type InterfaceInfo struct, Flags uint32 pkg syscall (windows-386), type InterfaceInfo struct, Netmask SockaddrGen pkg syscall (windows-386), type IpAdapterInfo struct -pkg syscall (windows-386), type IpAdapterInfo struct, AdapterName [MAX_ADAPTER_NAME_LENGTH + 4]uint8 -pkg syscall (windows-386), type IpAdapterInfo struct, Address [MAX_ADAPTER_ADDRESS_LENGTH]uint8 +pkg syscall (windows-386), type IpAdapterInfo struct, AdapterName [260]uint8 +pkg syscall (windows-386), type IpAdapterInfo struct, Address [8]uint8 pkg syscall (windows-386), type IpAdapterInfo struct, AddressLength uint32 pkg syscall (windows-386), type IpAdapterInfo struct, ComboIndex uint32 pkg syscall (windows-386), type IpAdapterInfo struct, CurrentIpAddress *IpAddrString -pkg syscall (windows-386), type IpAdapterInfo struct, Description [MAX_ADAPTER_DESCRIPTION_LENGTH + 4]uint8 +pkg syscall (windows-386), type IpAdapterInfo struct, Description [132]uint8 pkg syscall (windows-386), type IpAdapterInfo struct, DhcpEnabled uint32 pkg syscall (windows-386), type IpAdapterInfo struct, DhcpServer IpAddrString pkg syscall (windows-386), type IpAdapterInfo struct, GatewayList IpAddrString @@ -28828,14 +28861,14 @@ pkg syscall (windows-386), type IpAddrString struct, IpMask IpMaskString pkg syscall (windows-386), type IpAddrString struct, Next *IpAddrString pkg syscall (windows-386), type IpAddressString struct pkg syscall (windows-386), type IpAddressString struct, String [16]uint8 -pkg syscall (windows-386), type IpMaskString IpAddressString +pkg syscall (windows-386), type IpMaskString struct pkg syscall (windows-386), type LazyDLL struct pkg syscall (windows-386), type LazyDLL struct, Name string pkg syscall (windows-386), type LazyProc struct pkg syscall (windows-386), type LazyProc struct, Name string pkg syscall (windows-386), type MibIfRow struct pkg syscall (windows-386), type MibIfRow struct, AdminStatus uint32 -pkg syscall (windows-386), type MibIfRow struct, Descr [MAXLEN_IFDESCR]uint8 +pkg syscall (windows-386), type MibIfRow struct, Descr [256]uint8 pkg syscall (windows-386), type MibIfRow struct, DescrLen uint32 pkg syscall (windows-386), type MibIfRow struct, InDiscards uint32 pkg syscall (windows-386), type MibIfRow struct, InErrors uint32 @@ -28846,7 +28879,7 @@ pkg syscall (windows-386), type MibIfRow struct, InUnknownProtos uint32 pkg syscall (windows-386), type MibIfRow struct, Index uint32 pkg syscall (windows-386), type MibIfRow struct, LastChange uint32 pkg syscall (windows-386), type MibIfRow struct, Mtu uint32 -pkg syscall (windows-386), type MibIfRow struct, Name [MAX_INTERFACE_NAME_LEN]uint16 +pkg syscall (windows-386), type MibIfRow struct, Name [256]uint16 pkg syscall (windows-386), type MibIfRow struct, OperStatus uint32 pkg syscall (windows-386), type MibIfRow struct, OutDiscards uint32 pkg syscall (windows-386), type MibIfRow struct, OutErrors uint32 @@ -28854,7 +28887,7 @@ pkg syscall (windows-386), type MibIfRow struct, OutNUcastPkts uint32 pkg syscall (windows-386), type MibIfRow struct, OutOctets uint32 pkg syscall (windows-386), type MibIfRow struct, OutQLen uint32 pkg syscall (windows-386), type MibIfRow struct, OutUcastPkts uint32 -pkg syscall (windows-386), type MibIfRow struct, PhysAddr [MAXLEN_PHYSADDR]uint8 +pkg syscall (windows-386), type MibIfRow struct, PhysAddr [8]uint8 pkg syscall (windows-386), type MibIfRow struct, PhysAddrLen uint32 pkg syscall (windows-386), type MibIfRow struct, Speed uint32 pkg syscall (windows-386), type MibIfRow struct, Type uint32 @@ -28943,7 +28976,7 @@ pkg syscall (windows-386), type Timezoneinformation struct, DaylightName [32]uin pkg syscall (windows-386), type Timezoneinformation struct, StandardBias int32 pkg syscall (windows-386), type Timezoneinformation struct, StandardDate Systemtime pkg syscall (windows-386), type Timezoneinformation struct, StandardName [32]uint16 -pkg syscall (windows-386), type Token Handle +pkg syscall (windows-386), type Token uintptr pkg syscall (windows-386), type Tokenprimarygroup struct pkg syscall (windows-386), type Tokenprimarygroup struct, PrimaryGroup *SID pkg syscall (windows-386), type Tokenuser struct @@ -28962,11 +28995,11 @@ pkg syscall (windows-386), type WSABuf struct pkg syscall (windows-386), type WSABuf struct, Buf *uint8 pkg syscall (windows-386), type WSABuf struct, Len uint32 pkg syscall (windows-386), type WSAData struct -pkg syscall (windows-386), type WSAData struct, Description [WSADESCRIPTION_LEN + 1]uint8 +pkg syscall (windows-386), type WSAData struct, Description [257]uint8 pkg syscall (windows-386), type WSAData struct, HighVersion uint16 pkg syscall (windows-386), type WSAData struct, MaxSockets uint16 pkg syscall (windows-386), type WSAData struct, MaxUdpDg uint16 -pkg syscall (windows-386), type WSAData struct, SystemStatus [WSASYS_STATUS_LEN + 1]uint8 +pkg syscall (windows-386), type WSAData struct, SystemStatus [129]uint8 pkg syscall (windows-386), type WSAData struct, VendorInfo *uint8 pkg syscall (windows-386), type WSAData struct, Version uint16 pkg syscall (windows-386), type WaitStatus struct @@ -28982,7 +29015,7 @@ pkg syscall (windows-386), type Win32finddata struct pkg syscall (windows-386), type Win32finddata struct, AlternateFileName [13]uint16 pkg syscall (windows-386), type Win32finddata struct, CreationTime Filetime pkg syscall (windows-386), type Win32finddata struct, FileAttributes uint32 -pkg syscall (windows-386), type Win32finddata struct, FileName [MAX_PATH - 1]uint16 +pkg syscall (windows-386), type Win32finddata struct, FileName [259]uint16 pkg syscall (windows-386), type Win32finddata struct, FileSizeHigh uint32 pkg syscall (windows-386), type Win32finddata struct, FileSizeLow uint32 pkg syscall (windows-386), type Win32finddata struct, LastAccessTime Filetime @@ -29732,12 +29765,12 @@ pkg syscall (windows-amd64), type InterfaceInfo struct, BroadcastAddress Sockadd pkg syscall (windows-amd64), type InterfaceInfo struct, Flags uint32 pkg syscall (windows-amd64), type InterfaceInfo struct, Netmask SockaddrGen pkg syscall (windows-amd64), type IpAdapterInfo struct -pkg syscall (windows-amd64), type IpAdapterInfo struct, AdapterName [MAX_ADAPTER_NAME_LENGTH + 4]uint8 -pkg syscall (windows-amd64), type IpAdapterInfo struct, Address [MAX_ADAPTER_ADDRESS_LENGTH]uint8 +pkg syscall (windows-amd64), type IpAdapterInfo struct, AdapterName [260]uint8 +pkg syscall (windows-amd64), type IpAdapterInfo struct, Address [8]uint8 pkg syscall (windows-amd64), type IpAdapterInfo struct, AddressLength uint32 pkg syscall (windows-amd64), type IpAdapterInfo struct, ComboIndex uint32 pkg syscall (windows-amd64), type IpAdapterInfo struct, CurrentIpAddress *IpAddrString -pkg syscall (windows-amd64), type IpAdapterInfo struct, Description [MAX_ADAPTER_DESCRIPTION_LENGTH + 4]uint8 +pkg syscall (windows-amd64), type IpAdapterInfo struct, Description [132]uint8 pkg syscall (windows-amd64), type IpAdapterInfo struct, DhcpEnabled uint32 pkg syscall (windows-amd64), type IpAdapterInfo struct, DhcpServer IpAddrString pkg syscall (windows-amd64), type IpAdapterInfo struct, GatewayList IpAddrString @@ -29757,14 +29790,14 @@ pkg syscall (windows-amd64), type IpAddrString struct, IpMask IpMaskString pkg syscall (windows-amd64), type IpAddrString struct, Next *IpAddrString pkg syscall (windows-amd64), type IpAddressString struct pkg syscall (windows-amd64), type IpAddressString struct, String [16]uint8 -pkg syscall (windows-amd64), type IpMaskString IpAddressString +pkg syscall (windows-amd64), type IpMaskString struct pkg syscall (windows-amd64), type LazyDLL struct pkg syscall (windows-amd64), type LazyDLL struct, Name string pkg syscall (windows-amd64), type LazyProc struct pkg syscall (windows-amd64), type LazyProc struct, Name string pkg syscall (windows-amd64), type MibIfRow struct pkg syscall (windows-amd64), type MibIfRow struct, AdminStatus uint32 -pkg syscall (windows-amd64), type MibIfRow struct, Descr [MAXLEN_IFDESCR]uint8 +pkg syscall (windows-amd64), type MibIfRow struct, Descr [256]uint8 pkg syscall (windows-amd64), type MibIfRow struct, DescrLen uint32 pkg syscall (windows-amd64), type MibIfRow struct, InDiscards uint32 pkg syscall (windows-amd64), type MibIfRow struct, InErrors uint32 @@ -29775,7 +29808,7 @@ pkg syscall (windows-amd64), type MibIfRow struct, InUnknownProtos uint32 pkg syscall (windows-amd64), type MibIfRow struct, Index uint32 pkg syscall (windows-amd64), type MibIfRow struct, LastChange uint32 pkg syscall (windows-amd64), type MibIfRow struct, Mtu uint32 -pkg syscall (windows-amd64), type MibIfRow struct, Name [MAX_INTERFACE_NAME_LEN]uint16 +pkg syscall (windows-amd64), type MibIfRow struct, Name [256]uint16 pkg syscall (windows-amd64), type MibIfRow struct, OperStatus uint32 pkg syscall (windows-amd64), type MibIfRow struct, OutDiscards uint32 pkg syscall (windows-amd64), type MibIfRow struct, OutErrors uint32 @@ -29783,7 +29816,7 @@ pkg syscall (windows-amd64), type MibIfRow struct, OutNUcastPkts uint32 pkg syscall (windows-amd64), type MibIfRow struct, OutOctets uint32 pkg syscall (windows-amd64), type MibIfRow struct, OutQLen uint32 pkg syscall (windows-amd64), type MibIfRow struct, OutUcastPkts uint32 -pkg syscall (windows-amd64), type MibIfRow struct, PhysAddr [MAXLEN_PHYSADDR]uint8 +pkg syscall (windows-amd64), type MibIfRow struct, PhysAddr [8]uint8 pkg syscall (windows-amd64), type MibIfRow struct, PhysAddrLen uint32 pkg syscall (windows-amd64), type MibIfRow struct, Speed uint32 pkg syscall (windows-amd64), type MibIfRow struct, Type uint32 @@ -29872,7 +29905,7 @@ pkg syscall (windows-amd64), type Timezoneinformation struct, DaylightName [32]u pkg syscall (windows-amd64), type Timezoneinformation struct, StandardBias int32 pkg syscall (windows-amd64), type Timezoneinformation struct, StandardDate Systemtime pkg syscall (windows-amd64), type Timezoneinformation struct, StandardName [32]uint16 -pkg syscall (windows-amd64), type Token Handle +pkg syscall (windows-amd64), type Token uintptr pkg syscall (windows-amd64), type Tokenprimarygroup struct pkg syscall (windows-amd64), type Tokenprimarygroup struct, PrimaryGroup *SID pkg syscall (windows-amd64), type Tokenuser struct @@ -29891,11 +29924,11 @@ pkg syscall (windows-amd64), type WSABuf struct pkg syscall (windows-amd64), type WSABuf struct, Buf *uint8 pkg syscall (windows-amd64), type WSABuf struct, Len uint32 pkg syscall (windows-amd64), type WSAData struct -pkg syscall (windows-amd64), type WSAData struct, Description [WSADESCRIPTION_LEN + 1]uint8 +pkg syscall (windows-amd64), type WSAData struct, Description [257]uint8 pkg syscall (windows-amd64), type WSAData struct, HighVersion uint16 pkg syscall (windows-amd64), type WSAData struct, MaxSockets uint16 pkg syscall (windows-amd64), type WSAData struct, MaxUdpDg uint16 -pkg syscall (windows-amd64), type WSAData struct, SystemStatus [WSASYS_STATUS_LEN + 1]uint8 +pkg syscall (windows-amd64), type WSAData struct, SystemStatus [129]uint8 pkg syscall (windows-amd64), type WSAData struct, VendorInfo *uint8 pkg syscall (windows-amd64), type WSAData struct, Version uint16 pkg syscall (windows-amd64), type WaitStatus struct @@ -29911,7 +29944,7 @@ pkg syscall (windows-amd64), type Win32finddata struct pkg syscall (windows-amd64), type Win32finddata struct, AlternateFileName [13]uint16 pkg syscall (windows-amd64), type Win32finddata struct, CreationTime Filetime pkg syscall (windows-amd64), type Win32finddata struct, FileAttributes uint32 -pkg syscall (windows-amd64), type Win32finddata struct, FileName [MAX_PATH - 1]uint16 +pkg syscall (windows-amd64), type Win32finddata struct, FileName [259]uint16 pkg syscall (windows-amd64), type Win32finddata struct, FileSizeHigh uint32 pkg syscall (windows-amd64), type Win32finddata struct, FileSizeLow uint32 pkg syscall (windows-amd64), type Win32finddata struct, LastAccessTime Filetime @@ -30029,7 +30062,7 @@ pkg syscall, const IP_MULTICAST_LOOP ideal-int pkg syscall, const IP_MULTICAST_TTL ideal-int pkg syscall, const IP_TOS ideal-int pkg syscall, const IP_TTL ideal-int -pkg syscall, const ImplementsGetwd bool +pkg syscall, const ImplementsGetwd ideal-bool pkg syscall, const O_APPEND ideal-int pkg syscall, const O_ASYNC ideal-int pkg syscall, const O_CLOEXEC ideal-int @@ -30596,7 +30629,7 @@ pkg unicode, const MaxRune ideal-char pkg unicode, const ReplacementChar ideal-char pkg unicode, const TitleCase ideal-int pkg unicode, const UpperCase ideal-int -pkg unicode, const UpperLower ideal-int +pkg unicode, const UpperLower ideal-char pkg unicode, const Version ideal-string pkg unicode, func Is(*RangeTable, int32) bool pkg unicode, func IsControl(int32) bool @@ -30843,8 +30876,3 @@ pkg unicode/utf8, func RuneLen(int32) int pkg unicode/utf8, func RuneStart(uint8) bool pkg unicode/utf8, func Valid([]uint8) bool pkg unicode/utf8, func ValidString(string) bool -pkg unsafe, func Alignof(ArbitraryType) uintptr -pkg unsafe, func Offsetof(ArbitraryType) uintptr -pkg unsafe, func Sizeof(ArbitraryType) uintptr -pkg unsafe, type ArbitraryType int -pkg unsafe, type Pointer *ArbitraryType diff --git a/api/next.txt b/api/next.txt index 8f58e73e6..56fc27537 100644 --- a/api/next.txt +++ b/api/next.txt @@ -1,3 +1,7 @@ +pkg archive/zip, func RegisterCompressor(uint16, Compressor) +pkg archive/zip, func RegisterDecompressor(uint16, Decompressor) +pkg archive/zip, type Compressor func(io.Writer) (io.WriteCloser, error) +pkg archive/zip, type Decompressor func(io.Reader) io.ReadCloser pkg container/heap, func Fix(Interface, int) pkg container/list, method (*List) MoveAfter(*Element, *Element) pkg container/list, method (*List) MoveBefore(*Element, *Element) @@ -8,18 +12,18 @@ pkg crypto/cipher, type AEAD interface, NonceSize() int pkg crypto/cipher, type AEAD interface, Open([]uint8, []uint8, []uint8, []uint8) ([]uint8, error) pkg crypto/cipher, type AEAD interface, Overhead() int pkg crypto/cipher, type AEAD interface, Seal([]uint8, []uint8, []uint8, []uint8) []uint8 -pkg crypto/md5, func Sum([]uint8) [Size]uint8 +pkg crypto/md5, func Sum([]uint8) [16]uint8 pkg crypto/rsa, const PSSSaltLengthAuto ideal-int pkg crypto/rsa, const PSSSaltLengthEqualsHash ideal-int pkg crypto/rsa, func SignPSS(io.Reader, *PrivateKey, crypto.Hash, []uint8, *PSSOptions) ([]uint8, error) pkg crypto/rsa, func VerifyPSS(*PublicKey, crypto.Hash, []uint8, []uint8, *PSSOptions) error pkg crypto/rsa, type PSSOptions struct pkg crypto/rsa, type PSSOptions struct, SaltLength int -pkg crypto/sha1, func Sum([]uint8) [Size]uint8 -pkg crypto/sha256, func Sum224([]uint8) [Size224]uint8 -pkg crypto/sha256, func Sum256([]uint8) [Size]uint8 -pkg crypto/sha512, func Sum384([]uint8) [Size384]uint8 -pkg crypto/sha512, func Sum512([]uint8) [Size]uint8 +pkg crypto/sha1, func Sum([]uint8) [20]uint8 +pkg crypto/sha256, func Sum224([]uint8) [28]uint8 +pkg crypto/sha256, func Sum256([]uint8) [32]uint8 +pkg crypto/sha512, func Sum384([]uint8) [48]uint8 +pkg crypto/sha512, func Sum512([]uint8) [64]uint8 pkg crypto/subtle, func ConstantTimeLessOrEq(int, int) int pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 pkg crypto/tls, const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA uint16 @@ -38,6 +42,7 @@ pkg flag, type Getter interface { Get, Set, String } pkg flag, type Getter interface, Get() interface{} pkg flag, type Getter interface, Set(string) error pkg flag, type Getter interface, String() string +pkg flag, var CommandLine *FlagSet pkg go/ast, type SliceExpr struct, Max Expr pkg go/ast, type TypeAssertExpr struct, Lparen token.Pos pkg go/ast, type TypeAssertExpr struct, Rparen token.Pos @@ -31701,20 +31706,136 @@ pkg syscall (openbsd-amd64-cgo), type WaitStatus uint32 pkg syscall (openbsd-amd64-cgo), var Stderr int pkg syscall (openbsd-amd64-cgo), var Stdin int pkg syscall (openbsd-amd64-cgo), var Stdout int +pkg syscall (windows-386), const BASE_PROTOCOL ideal-int pkg syscall (windows-386), const ERROR_HANDLE_EOF Errno +pkg syscall (windows-386), const FILE_SKIP_COMPLETION_PORT_ON_SUCCESS ideal-int +pkg syscall (windows-386), const FILE_SKIP_SET_EVENT_ON_HANDLE ideal-int +pkg syscall (windows-386), const LAYERED_PROTOCOL ideal-int +pkg syscall (windows-386), const MAX_PROTOCOL_CHAIN ideal-int pkg syscall (windows-386), const NetSetupDomainName ideal-int pkg syscall (windows-386), const NetSetupUnjoined ideal-int pkg syscall (windows-386), const NetSetupUnknownStatus ideal-int pkg syscall (windows-386), const NetSetupWorkgroupName ideal-int +pkg syscall (windows-386), const PFL_HIDDEN ideal-int +pkg syscall (windows-386), const PFL_MATCHES_PROTOCOL_ZERO ideal-int +pkg syscall (windows-386), const PFL_MULTIPLE_PROTO_ENTRIES ideal-int +pkg syscall (windows-386), const PFL_NETWORKDIRECT_PROVIDER ideal-int +pkg syscall (windows-386), const PFL_RECOMMENDED_PROTO_ENTRY ideal-int pkg syscall (windows-386), const PROCESS_TERMINATE ideal-int +pkg syscall (windows-386), const WSAPROTOCOL_LEN ideal-int +pkg syscall (windows-386), const XP1_CONNECTIONLESS ideal-int +pkg syscall (windows-386), const XP1_CONNECT_DATA ideal-int +pkg syscall (windows-386), const XP1_DISCONNECT_DATA ideal-int +pkg syscall (windows-386), const XP1_EXPEDITED_DATA ideal-int +pkg syscall (windows-386), const XP1_GRACEFUL_CLOSE ideal-int +pkg syscall (windows-386), const XP1_GUARANTEED_DELIVERY ideal-int +pkg syscall (windows-386), const XP1_GUARANTEED_ORDER ideal-int +pkg syscall (windows-386), const XP1_IFS_HANDLES ideal-int +pkg syscall (windows-386), const XP1_MESSAGE_ORIENTED ideal-int +pkg syscall (windows-386), const XP1_MULTIPOINT_CONTROL_PLANE ideal-int +pkg syscall (windows-386), const XP1_MULTIPOINT_DATA_PLANE ideal-int +pkg syscall (windows-386), const XP1_PARTIAL_MESSAGE ideal-int +pkg syscall (windows-386), const XP1_PSEUDO_STREAM ideal-int +pkg syscall (windows-386), const XP1_QOS_SUPPORTED ideal-int +pkg syscall (windows-386), const XP1_SAN_SUPPORT_SDP ideal-int +pkg syscall (windows-386), const XP1_SUPPORT_BROADCAST ideal-int +pkg syscall (windows-386), const XP1_SUPPORT_MULTIPOINT ideal-int +pkg syscall (windows-386), const XP1_UNI_RECV ideal-int +pkg syscall (windows-386), const XP1_UNI_SEND ideal-int +pkg syscall (windows-386), func LoadSetFileCompletionNotificationModes() error pkg syscall (windows-386), func NetGetJoinInformation(*uint16, **uint16, *uint32) error +pkg syscall (windows-386), func SetFileCompletionNotificationModes(Handle, uint8) error +pkg syscall (windows-386), func WSAEnumProtocols(*int32, *WSAProtocolInfo, *uint32) (int32, error) +pkg syscall (windows-386), type IpMaskString struct, String [16]uint8 +pkg syscall (windows-386), type WSAProtocolChain struct +pkg syscall (windows-386), type WSAProtocolChain struct, ChainEntries [7]uint32 +pkg syscall (windows-386), type WSAProtocolChain struct, ChainLen int32 +pkg syscall (windows-386), type WSAProtocolInfo struct +pkg syscall (windows-386), type WSAProtocolInfo struct, AddressFamily int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, CatalogEntryId uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, MaxSockAddr int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, MessageSize uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, MinSockAddr int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, NetworkByteOrder int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, Protocol int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ProtocolChain WSAProtocolChain +pkg syscall (windows-386), type WSAProtocolInfo struct, ProtocolMaxOffset int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ProtocolName [256]uint16 +pkg syscall (windows-386), type WSAProtocolInfo struct, ProviderFlags uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ProviderId GUID +pkg syscall (windows-386), type WSAProtocolInfo struct, ProviderReserved uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, SecurityScheme int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags1 uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags2 uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags3 uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, ServiceFlags4 uint32 +pkg syscall (windows-386), type WSAProtocolInfo struct, SocketType int32 +pkg syscall (windows-386), type WSAProtocolInfo struct, Version int32 +pkg syscall (windows-amd64), const BASE_PROTOCOL ideal-int pkg syscall (windows-amd64), const ERROR_HANDLE_EOF Errno +pkg syscall (windows-amd64), const FILE_SKIP_COMPLETION_PORT_ON_SUCCESS ideal-int +pkg syscall (windows-amd64), const FILE_SKIP_SET_EVENT_ON_HANDLE ideal-int +pkg syscall (windows-amd64), const LAYERED_PROTOCOL ideal-int +pkg syscall (windows-amd64), const MAX_PROTOCOL_CHAIN ideal-int pkg syscall (windows-amd64), const NetSetupDomainName ideal-int pkg syscall (windows-amd64), const NetSetupUnjoined ideal-int pkg syscall (windows-amd64), const NetSetupUnknownStatus ideal-int pkg syscall (windows-amd64), const NetSetupWorkgroupName ideal-int +pkg syscall (windows-amd64), const PFL_HIDDEN ideal-int +pkg syscall (windows-amd64), const PFL_MATCHES_PROTOCOL_ZERO ideal-int +pkg syscall (windows-amd64), const PFL_MULTIPLE_PROTO_ENTRIES ideal-int +pkg syscall (windows-amd64), const PFL_NETWORKDIRECT_PROVIDER ideal-int +pkg syscall (windows-amd64), const PFL_RECOMMENDED_PROTO_ENTRY ideal-int pkg syscall (windows-amd64), const PROCESS_TERMINATE ideal-int +pkg syscall (windows-amd64), const WSAPROTOCOL_LEN ideal-int +pkg syscall (windows-amd64), const XP1_CONNECTIONLESS ideal-int +pkg syscall (windows-amd64), const XP1_CONNECT_DATA ideal-int +pkg syscall (windows-amd64), const XP1_DISCONNECT_DATA ideal-int +pkg syscall (windows-amd64), const XP1_EXPEDITED_DATA ideal-int +pkg syscall (windows-amd64), const XP1_GRACEFUL_CLOSE ideal-int +pkg syscall (windows-amd64), const XP1_GUARANTEED_DELIVERY ideal-int +pkg syscall (windows-amd64), const XP1_GUARANTEED_ORDER ideal-int +pkg syscall (windows-amd64), const XP1_IFS_HANDLES ideal-int +pkg syscall (windows-amd64), const XP1_MESSAGE_ORIENTED ideal-int +pkg syscall (windows-amd64), const XP1_MULTIPOINT_CONTROL_PLANE ideal-int +pkg syscall (windows-amd64), const XP1_MULTIPOINT_DATA_PLANE ideal-int +pkg syscall (windows-amd64), const XP1_PARTIAL_MESSAGE ideal-int +pkg syscall (windows-amd64), const XP1_PSEUDO_STREAM ideal-int +pkg syscall (windows-amd64), const XP1_QOS_SUPPORTED ideal-int +pkg syscall (windows-amd64), const XP1_SAN_SUPPORT_SDP ideal-int +pkg syscall (windows-amd64), const XP1_SUPPORT_BROADCAST ideal-int +pkg syscall (windows-amd64), const XP1_SUPPORT_MULTIPOINT ideal-int +pkg syscall (windows-amd64), const XP1_UNI_RECV ideal-int +pkg syscall (windows-amd64), const XP1_UNI_SEND ideal-int +pkg syscall (windows-amd64), func LoadSetFileCompletionNotificationModes() error pkg syscall (windows-amd64), func NetGetJoinInformation(*uint16, **uint16, *uint32) error +pkg syscall (windows-amd64), func SetFileCompletionNotificationModes(Handle, uint8) error +pkg syscall (windows-amd64), func WSAEnumProtocols(*int32, *WSAProtocolInfo, *uint32) (int32, error) +pkg syscall (windows-amd64), type IpMaskString struct, String [16]uint8 +pkg syscall (windows-amd64), type WSAProtocolChain struct +pkg syscall (windows-amd64), type WSAProtocolChain struct, ChainEntries [7]uint32 +pkg syscall (windows-amd64), type WSAProtocolChain struct, ChainLen int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct +pkg syscall (windows-amd64), type WSAProtocolInfo struct, AddressFamily int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, CatalogEntryId uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, MaxSockAddr int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, MessageSize uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, MinSockAddr int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, NetworkByteOrder int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, Protocol int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProtocolChain WSAProtocolChain +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProtocolMaxOffset int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProtocolName [256]uint16 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProviderFlags uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProviderId GUID +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ProviderReserved uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, SecurityScheme int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ServiceFlags1 uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ServiceFlags2 uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ServiceFlags3 uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, ServiceFlags4 uint32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, SocketType int32 +pkg syscall (windows-amd64), type WSAProtocolInfo struct, Version int32 pkg testing, func RegisterCover(Cover) pkg testing, type Cover struct pkg testing, type Cover struct, Blocks map[string][]CoverBlock |