Need Assistance?

support@tutorialshub.in

Interfaces & Generics

Standard Interfaces (io.Reader, fmt.Stringer)

ADVERTISEMENT
Go (Golang) Free Lesson
5 min read
ADVERTISEMENT

Implementing String() string satisfies fmt.Stringer (customizing fmt.Println output), while io.Reader and io.Writer power files, HTTP bodies, and compression uniformly.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you