Start translation to brazilian portuguese

This commit is contained in:
Gustavo Kuklinski
2015-07-05 22:56:01 -03:00
parent 3219cc6f3b
commit 5504747def
273 changed files with 16240 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// Example code for Chapter 1.2 from "Build Web Application with Golang"
// Purpose: Shows how to create a simple package called `mymath`
// This package must be imported from another go file to run.
package mymath
func Sqrt(x float64) float64 {
z := 0.0
for i := 0; i < 1000; i++ {
z -= (z*z - x) / (2 * x)
}
return z
}