(driver string)
| 45 | } |
| 46 | |
| 47 | func NewFactory[T any](driver string) *Factory[T] { |
| 48 | return &Factory[T]{driver: driver} |
| 49 | } |
| 50 | |
| 51 | func (f *Factory[T]) Create(config interface{}) (IAuth, error) { |
| 52 | cfg, err := generateStruct[T](config) |
nothing calls this directly
no outgoing calls
no test coverage detected