Golang -Typ
package main
import (
"fmt"
)
type (
Name string
Age uint
)
func main() {
var name Name
var age Age
name = "john doe"
age = 30
fmt.Printf("nama saya %s dan umur saya %d", name, age)
}
Restu Wahyu Saputra