()
| 370 | } |
| 371 | |
| 372 | func (channel *Channel) GetWeight() int { |
| 373 | if channel.Weight == nil { |
| 374 | return 0 |
| 375 | } |
| 376 | return int(*channel.Weight) |
| 377 | } |
| 378 | |
| 379 | func (channel *Channel) GetBaseURL() string { |
| 380 | if channel.BaseURL == nil { |
no outgoing calls
no test coverage detected