different types in Go
tags: learning go programming
content
- there’re several types in Go
- built-in types:
int,string,float64etc - custom types:
type Count inttype User struct { UserID, UserName }
- interface types
type Stringer interface { String() }- interface types define method sets
- built-in types: