Last active
October 19, 2022 19:54
-
-
Save jquiterio/155b220fa002ecf17b29fb71e6b2fee7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Planet struct { | |
ID uint `gorm:"primaryKey;autoIncrement"` | |
Name string `gorm:"unique;type:string;size:100"` | |
NumSatellites uint32 | |
Specs JSONMap | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment