Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | package generator |
||
16 | func New(dataGenerator data.MediaGenerator) ResponseGenerator { |
||
17 | return &coordinatingGenerator{ |
||
18 | contentTypeNegotiator: negotiator.NewContentTypeNegotiator(), |
||
19 | statusCodeNegotiator: negotiator.NewStatusCodeNegotiator(), |
||
20 | contentGenerator: content.NewGenerator(dataGenerator), |
||
21 | } |
||
23 |