myInt

package main

import (
    "fmt"
    "strconv"

)

type myInt int

func main() {
    i := myInt(5)
    s := strconv.Itoa(int(i)) // myIntからintに変換が必要
    fmt.Println(s)
}