Golang's gorm library, what is the default size of string?

what is the default size of the gorm library for golang? what is the default size of string? Is it 255?
http://gorm.io/zh_CN/docs/mod.

clipboard.png

type:varchar(100)type:varchar(255)

clipboard.png

Jan.11,2022

the default generated string is mapped to varchar (255).


look at the source code of gorm

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e51d41-45162.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e51d41-45162.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?