Documentation
¶
Overview ¶
script-metadata shows an embedding host checking a script's inline metadata block before running it: parse the block, verify it against the host's real environment — the host's own version, the libraries and loaders it wired up, the plugins it loaded — and refuse to run anything with unmet requirements.
Run it with:
go run ./examples/script-metadata
Click to show internal directories.
Click to hide internal directories.