<p dir="auto">Context: /basics/3</p>
<p dir="auto">original source code:<br>
package main</p>
<p dir="auto">import (<br>
"fmt"<br>
"math"<br>
)</p>
<p dir="auto">func main() {<br>
fmt.Println(math.pi)<br>
}</p>
<p dir="auto">issue: # command-line-arguments<br>
/tmp/sandbox679643269/main.go:9: cannot refer to unexported name math.pi<br>
/tmp/sandbox679643269/main.go:9: undefined: math.pi</p>
<p dir="auto">math.pi should be changed to math.Pi as you may type it incorretly.</p>
<p dir="auto">Context: /basics/3</p>
<p dir="auto">Example in "Exported names" section does not compile. Error is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# command-line-arguments
/tmp/sandbox260995202/main.go:9: cannot refer to unexported name math.pi
/tmp/sandbox260995202/main.go:9: undefined: math.pi"><pre class="notranslate"><code class="notranslate"># command-line-arguments
/tmp/sandbox260995202/main.go:9: cannot refer to unexported name math.pi
/tmp/sandbox260995202/main.go:9: undefined: math.pi
</code></pre></div>