diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2012-12-16 11:51:47 +0900 |
---|---|---|
committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2012-12-16 11:51:47 +0900 |
commit | 0d197251eedad2185a41f9fe7facb20fd5bb3061 (patch) | |
tree | c54b8c549bbf76980ba45d5f293b449362a77e5a /api/except.txt | |
parent | 1947960a6f87437cb3da4fd9341c0d265ff71cf6 (diff) | |
download | go-0d197251eedad2185a41f9fe7facb20fd5bb3061.tar.gz go-0d197251eedad2185a41f9fe7facb20fd5bb3061.zip |
net: change ListenUnixgram signature to return UnixConn instead of UDPConn
This CL breaks Go 1 API compatibility but it doesn't matter because
previous ListenUnixgram doesn't work in any use cases, oops.
The public API change is:
-pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)
+pkg net, func ListenUnixgram(string, *UnixAddr) (*UnixConn, error)
Fixes #3875.
R=rsc, golang-dev, dave
CC=golang-dev
https://golang.org/cl/6937059
Diffstat (limited to 'api/except.txt')
-rw-r--r-- | api/except.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/except.txt b/api/except.txt index e9fb24b466..7f8f81df50 100644 --- a/api/except.txt +++ b/api/except.txt @@ -1,2 +1,3 @@ +pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error) pkg text/template/parse, type DotNode bool pkg text/template/parse, type Node interface { Copy, String, Type } |