paint-brush
Interfaces in Golangby@vraj9845
1,383 reads
1,383 reads

Interfaces in Golang

by vraj98453mMarch 21st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

An interface in Golang is defined as a set of method signatures. Interfaces are implemented implicitly, so you can write interfaces for code that you don't own. They help us to make great APIs. They can write shorter programs which are easier to understand. Go methods can accept empty interfaces too. They can accept any type and perform the subsequent operations based on the type given as input. Go has a few advantages of interfaces in Go: We can write a shorter program which is easier to read and write.

Company Mentioned

Mention Thumbnail
featured image - Interfaces in Golang
vraj9845 HackerNoon profile picture
vraj9845

vraj9845

@vraj9845

Software Development Engineer

About @vraj9845
LEARN MORE ABOUT @VRAJ9845'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

vraj9845 HackerNoon profile picture
vraj9845@vraj9845
Software Development Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Alvinashcraft
Senior
Coffee-web
Learnrepo