| 1 |
package sarif |
| 2 |
|
| 3 |
// SpecialLocations ... |
| 4 |
type SpecialLocations struct { |
| 5 |
DisplayBase *ArtifactLocation `json:"displayBase,omitempty"` |
| 6 |
PropertyBag |
| 7 |
|
| 8 |
} |
| 9 |
|
| 10 |
// NewSpecialLocations ... |
| 11 |
func NewSpecialLocations() *SpecialLocations { |
| 12 |
return &SpecialLocations{} |
| 13 |
} |
| 14 |
|
| 15 |
// WithDisplayBase sets the DisplayBase |
| 16 |
func (specialLocations *SpecialLocations) WithDisplayBase(displayBase *ArtifactLocation) *SpecialLocations { |
| 17 |
specialLocations.DisplayBase = displayBase |
| 18 |
return specialLocations |
| 19 |
} |