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,22 @@
package main
import (
"fmt"
"strconv"
)
type Human struct {
name string
age int
phone string
}
// Human implemented fmt.Stringer
func (h Human) String() string {
return "Name:" + h.name + ", Age:" + strconv.Itoa(h.age) + " years, Contact:" + h.phone
}
func main() {
Bob := Human{"Bob", 39, "000-7777-XXX"}
fmt.Println("This Human is : ", Bob)
}