Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(ins ...Migrates)
Add note "ins" is a structure instance that implements migrates No need to implement all methods
func AutoMigrate ¶
func AutoMigrate() error
AutoMigrate It needs to be written after the "Add" method and finally executed to ensure correct migration
Types ¶
Click to show internal directories.
Click to hide internal directories.