(conf Config, pkg SQL)
| 288 | } |
| 289 | |
| 290 | func Combine(conf Config, pkg SQL) CombinedSettings { |
| 291 | cs := CombinedSettings{ |
| 292 | Global: conf, |
| 293 | Package: pkg, |
| 294 | } |
| 295 | if pkg.Gen.Go != nil { |
| 296 | cs.Go = *pkg.Gen.Go |
| 297 | } |
| 298 | if pkg.Gen.JSON != nil { |
| 299 | cs.JSON = *pkg.Gen.JSON |
| 300 | } |
| 301 | return cs |
| 302 | } |
no outgoing calls
no test coverage detected