Golang Print io.Writer
data := bytes.Buffer{}
hex := hex.NewEncoder(&data)
hex.Write([]byte("Hello Wordl"))
fmt.Println(data.String())
Restu Wahyu Saputra
data := bytes.Buffer{}
hex := hex.NewEncoder(&data)
hex.Write([]byte("Hello Wordl"))
fmt.Println(data.String())