The meaning of grom tag in ORM Library of Go language

the meaning of the grom tag in the ORM library of Go is shown in the screenshot below:

clipboard.png
question:
1, varchar and size:100 what"s the difference?
2, gorm: "-" what does it mean to ignore this field?

Go
Jun.28,2022

  1. string generates varchar by default, and size is a common length setting
  2. gorm: "-" No fields are generated when creating a table using AutoMigrate, so using the First method or the Scan method will only have a zero value of the type itself
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-1eb25ed-481a1.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-1eb25ed-481a1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?