Answers for "golang type"

Go
0

golang type

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)
}
Posted by: Guest on October-02-2021

Browse Popular Code Answers by Language