mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
change *map to map; *chan to chan; new(T) to new(*T)
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
This commit is contained in:
parent
d47d888ba6
commit
08ca30bbfa
111 changed files with 814 additions and 845 deletions
|
|
@ -81,7 +81,7 @@ func (b *ByteBuffer) Data() []byte {
|
|||
|
||||
|
||||
export func NewByteBufferFromArray(buf []byte) *ByteBuffer {
|
||||
b := new(ByteBuffer);
|
||||
b := new(*ByteBuffer);
|
||||
b.buf = buf;
|
||||
b.off = 0;
|
||||
b.len = len(buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue