mirror of
https://github.com/golang/go
synced 2024-11-12 05:30:21 -07:00
parent
c110269579
commit
6c7f9f6340
@ -1,6 +1,6 @@
|
|||||||
<!-- Contributing to the Go project -->
|
<!-- Contributing to the Go project -->
|
||||||
|
|
||||||
<h2>Introduction</h2>
|
<h2 id="Introduction">Introduction</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This document explains how to write a new package,
|
This document explains how to write a new package,
|
||||||
@ -21,7 +21,7 @@ enables discussions about design before much code
|
|||||||
has been written.
|
has been written.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Community resources</h2>
|
<h2 id="Community_resources">Community resources</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For real-time help, there may be users or developers on
|
For real-time help, there may be users or developers on
|
||||||
@ -44,7 +44,7 @@ that receives a message summarizing each checkin to the Go repository.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2>Creating a new package</h2>
|
<h2 id="New_package">Creating a new package</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The source code for the package with import path
|
The source code for the package with import path
|
||||||
@ -141,7 +141,7 @@ Writing clean, idiomatic Go code is beyond the scope of this document.
|
|||||||
that topic.
|
that topic.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Testing</h2>
|
<h2 id="Testing">Testing</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Go has a lightweight test framework known as <code>gotest</code>.
|
Go has a lightweight test framework known as <code>gotest</code>.
|
||||||
@ -193,7 +193,7 @@ Once your new code is tested and working,
|
|||||||
it's time to get it reviewed and submitted.
|
it's time to get it reviewed and submitted.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Code review</h2>
|
<h2 id="Code_review">Code review</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Changes to Go must be reviewed before they are submitted,
|
Changes to Go must be reviewed before they are submitted,
|
||||||
|
Loading…
Reference in New Issue
Block a user