Skip to content

Instantly share code, notes, and snippets.

@d0c-s4vage
Last active July 15, 2019 13:59
Show Gist options
  • Save d0c-s4vage/abdb7a72b5f25b57161f6f936ec738a2 to your computer and use it in GitHub Desktop.
Save d0c-s4vage/abdb7a72b5f25b57161f6f936ec738a2 to your computer and use it in GitHub Desktop.
// holds script-specific information (i.e. how to load the script data,
// name of the script, script runtime version required, etc.)
type Script struct {
}
// current script execution context. Defines global variables, pre-exising variables
// from the current scope, etc.
type ScriptContext struct {
}
// accepts a script structure, and a script context
func RunScript(script *Script, scriptCtx *ScriptContext) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment