code: func NewOptions(db *gorm.DB, opts Options, keyPairs ...[]byte) *Store {
  	st := &Store{
  		db:     db,
  		opts:   opts,
  		Codecs: securecookie.CodecsFromPairs(keyPairs...),
  		SessionOpts: &sessions.Options{
  			Path:   defaultPath,
  			MaxAge: defaultMaxAge,
  		},
  	}
  	if st.opts.TableName == "" {
  		st.opts.TableName = defaultTableName
  	}
  
  	if !st.opts.SkipCreateTable {
  		st.db.AutoMigrate(&gormSession{tableName: st.opts.TableName})
  	}
  
  	return st
  }
docs: // NewOptions creates a new gormstore session with options