()
| 181 | } |
| 182 | |
| 183 | func (mod *Module) GetSource() *ModuleSource { |
| 184 | if !mod.Source.Valid { |
| 185 | return nil |
| 186 | } |
| 187 | return mod.Source.Value.Self() |
| 188 | } |
| 189 | |
| 190 | // The "context source" is the module used as the execution context for the module. |
| 191 | // Usually it's simply the module source itself. But when using blueprints or |