initial thai translation

This commit is contained in:
Tavee Khunbida
2019-01-08 15:54:55 +07:00
parent 55e90cb934
commit 454ac1fe6c
469 changed files with 17014 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
}