(tableMethods entity.MethodMaps)
| 113 | } |
| 114 | |
| 115 | func WithTableMethods(tableMethods entity.MethodMaps) *OptionsFunc { |
| 116 | return &OptionsFunc{ |
| 117 | fun: func(db *GormGenCommand) { |
| 118 | db.tableMethods = tableMethods |
| 119 | }, |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | func WithDataTypeMap(dataTypeMap map[string]func(detailType gorm.ColumnType) (dataType string)) *OptionsFunc { |
| 124 | return &OptionsFunc{ |