FatmanUK / webapp

The standard Go http tutorial taken to ludicrous extremes
0 stars 0 forks source link

JsonOperator interface too broad #17

Closed FatmanUK closed 3 weeks ago

FatmanUK commented 3 weeks ago
type JsonOperator interface {
    operate(*JsonConfig)
}

->

type JsonOperator interface {
    operate(*map[string]string)
}

It is supposed to be a decoupler for JsonConfig, after all.