Pick the right one: int vs. int64 - yourbasic.org/golang

 4 years ago
source link: https://yourbasic.org/golang/int-vs-int64/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
An index, length or capacity should normally be an int. The types int8, int16, int32, and int64 are best suited for data.

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK