OLD | NEW |
1 <!--{ | 1 <!--{ |
2 "Title": "Go 1 Release Notes" | 2 "Title": "Go 1 Release Notes" |
3 }--> | 3 }--> |
4 <!-- | 4 <!-- |
5 DO NOT EDIT: created by | 5 DO NOT EDIT: created by |
6 tmpltohtml go1.tmpl | 6 tmpltohtml go1.tmpl |
7 --> | 7 --> |
8 | 8 |
9 | 9 |
10 <h2 id="introduction">Introduction to Go 1</h2> | 10 <h2 id="introduction">Introduction to Go 1</h2> |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 </p> | 533 </p> |
534 | 534 |
535 <p> | 535 <p> |
536 <em>Updating</em>: | 536 <em>Updating</em>: |
537 Gofix will update all imports and package renames for packages that | 537 Gofix will update all imports and package renames for packages that |
538 remain inside the standard repository. Programs that import packages | 538 remain inside the standard repository. Programs that import packages |
539 that are no longer in the standard repository will need to be edited | 539 that are no longer in the standard repository will need to be edited |
540 by hand. | 540 by hand. |
541 <br> | 541 <br> |
542 <font color="red">TODO: gofix should warn about deletions.</font> | 542 <font color="red">TODO: gofix should warn about deletions.</font> |
543 <br> | |
544 <font color="red">TODO: gofix should also handle packages that move to subrepos.
</font> | |
545 </p> | 543 </p> |
546 | 544 |
547 <h3 id="exp">The package tree exp</h3> | 545 <h3 id="exp">The package tree exp</h3> |
548 | 546 |
549 <p> | 547 <p> |
550 Because they are not standardized, the packages under the <code>exp</code> direc
tory will not be available in the | 548 Because they are not standardized, the packages under the <code>exp</code> direc
tory will not be available in the |
551 standard Go 1 release distributions, although they will be available in source c
ode form | 549 standard Go 1 release distributions, although they will be available in source c
ode form |
552 in <a href="http://code.google.com/p/go/">the repository</a> for | 550 in <a href="http://code.google.com/p/go/">the repository</a> for |
553 developers who wish to use them. | 551 developers who wish to use them. |
554 </p> | 552 </p> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 slices directly. See | 633 slices directly. See |
636 <a href="http://code.google.com/p/go-wiki/wiki/SliceTricks">the Go | 634 <a href="http://code.google.com/p/go-wiki/wiki/SliceTricks">the Go |
637 Language Community Wiki</a> for some suggestions. | 635 Language Community Wiki</a> for some suggestions. |
638 Code that uses the other packages (there should be almost zero) will need to be
rethought. | 636 Code that uses the other packages (there should be almost zero) will need to be
rethought. |
639 <br> | 637 <br> |
640 <font color="red">TODO: gofix should warn such uses.</font> | 638 <font color="red">TODO: gofix should warn such uses.</font> |
641 </p> | 639 </p> |
642 | 640 |
643 <h3 id="subrepo">Packages moving to subrepositories</h3> | 641 <h3 id="subrepo">Packages moving to subrepositories</h3> |
644 | 642 |
645 <!--· | 643 <p> |
646 crypto/openpgp to XXX | 644 Go 1 has moved a number of packages into sub-repositories of |
647 maybe exp/ssh? | 645 <a href="http://code.google.com/p/go/">the main Go repository</a>. |
648 --> | 646 This table lists the old and new import paths: |
| 647 |
| 648 <table class="codetable" frame="border" summary="Sub-repositories"> |
| 649 <colgroup align="left" width="40%"></colgroup> |
| 650 <colgroup align="left" width="60%"></colgroup> |
| 651 <tr> |
| 652 <th align="left">Old</th> |
| 653 <th align="left">New</th> |
| 654 </tr> |
| 655 <tr> |
| 656 <td colspan="2"><hr></td> |
| 657 </tr> |
| 658 <tr><td>crypto/bcrypt</td> <td>code.google.com/p/go.crypto/bcrypt</tr> |
| 659 <tr><td>crypto/blowfish</td> <td>code.google.com/p/go.crypto/blowfish</tr> |
| 660 <tr><td>crypto/cast5</td> <td>code.google.com/p/go.crypto/cast5</tr> |
| 661 <tr><td>crypto/md4</td> <td>code.google.com/p/go.crypto/md4</tr> |
| 662 <tr><td>crypto/ocsp</td> <td>code.google.com/p/go.crypto/ocsp</tr> |
| 663 <tr><td>crypto/openpgp</td> <td>code.google.com/p/go.crypto/openpgp</tr> |
| 664 <tr><td>crypto/openpgp/armor</td> <td>code.google.com/p/go.crypto/openpgp/armor<
/tr> |
| 665 <tr><td>crypto/openpgp/elgamal</td> <td>code.google.com/p/go.crypto/openpgp/elga
mal</tr> |
| 666 <tr><td>crypto/openpgp/errors</td> <td>code.google.com/p/go.crypto/openpgp/error
s</tr> |
| 667 <tr><td>crypto/openpgp/packet</td> <td>code.google.com/p/go.crypto/openpgp/packe
t</tr> |
| 668 <tr><td>crypto/openpgp/s2k</td> <td>code.google.com/p/go.crypto/openpgp/s2k</tr> |
| 669 <tr><td>crypto/ripemd160</td> <td>code.google.com/p/go.crypto/ripemd160</tr> |
| 670 <tr><td>crypto/twofish</td> <td>code.google.com/p/go.crypto/twofish</tr> |
| 671 <tr><td>crypto/xtea</td> <td>code.google.com/p/go.crypto/xtea</tr> |
| 672 <tr><td>exp/ssh</td> <td>code.google.com/p/go.crypto/ssh</tr> |
| 673 <tr> |
| 674 <td colspan="2"><hr></td> |
| 675 </tr> |
| 676 <tr><td>net/dict</td> <td>code.google.com/p/go.net/dict</tr> |
| 677 <tr><td>net/websocket</td> <td>code.google.com/p/go.net/websocket</tr> |
| 678 <tr><td>exp/spdy</td> <td>code.google.com/p/go.net/spdy</tr> |
| 679 <tr> |
| 680 <td colspan="2"><hr></td> |
| 681 </tr> |
| 682 <tr><td>encoding/git85</td> <td>code.google.com/p/go.codereview/git85</tr> |
| 683 <tr><td>patch</td> <td>code.google.com/p/go.codereview/patch</tr> |
| 684 </table> |
| 685 |
| 686 <p> |
| 687 <em>Updating</em>: |
| 688 Gofix will update imports of these packages to use the new import paths. |
| 689 Installations that depend on these packages will need to install them using |
| 690 a <code>go install</code> command. |
| 691 </p> |
649 | 692 |
650 <h2 id="major">Major changes to the library</h2> | 693 <h2 id="major">Major changes to the library</h2> |
651 | 694 |
652 <p> | 695 <p> |
653 This section describes significant changes to the core libraries, the ones that | 696 This section describes significant changes to the core libraries, the ones that |
654 affect the most programs. | 697 affect the most programs. |
655 </p> | 698 </p> |
656 | 699 |
657 <h3 id="errors">The error type and errors package</h3> | 700 <h3 id="errors">The error type and errors package</h3> |
658 | 701 |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 <p> | 1450 <p> |
1408 <em>Updating</em>: | 1451 <em>Updating</em>: |
1409 Existing code is unaffected, although benchmarks that use <code>println</code> | 1452 Existing code is unaffected, although benchmarks that use <code>println</code> |
1410 or <code>panic</code> should be updated to use the new methods. | 1453 or <code>panic</code> should be updated to use the new methods. |
1411 </p> | 1454 </p> |
1412 | 1455 |
1413 <h2 id="go_command">The go command</h2> | 1456 <h2 id="go_command">The go command</h2> |
1414 | 1457 |
1415 <h2 id="releases">Packaged releases</h2> | 1458 <h2 id="releases">Packaged releases</h2> |
1416 | 1459 |
OLD | NEW |