()
| 78 | } |
| 79 | |
| 80 | func (s *Source) SetDefaults() { |
| 81 | s.Metadata.SetDefaults() |
| 82 | if s.Spec == nil { |
| 83 | s.Spec = make(map[string]any) |
| 84 | } |
| 85 | if s.SkipDependentTables == nil { |
| 86 | b := true |
| 87 | s.SkipDependentTables = &b |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | // UnmarshalSpec unmarshals the internal spec into the given interface |
| 92 | func (s *Source) UnmarshalSpec(out any) error { |
no outgoing calls