GORM Playground Link

https://github.com/go-gorm/playground/pull/756

Description

DB: PostgreSQL

type Book struct {
        // Whether `autoIncrementIncrement` is set or not, the increment step is always 1.
    BookID int    `gorm:"column:book_id;autoIncrement:true;autoIncrementIncrement:10"`
    Name   string `gorm:"column:name;type:varchar(255)"`
}