Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPath ¶ added in v0.2.3
LoadPath parses paths and returns the first path. If paths is empty, returns "-". If paths has more than one element, returns an error.
func LoadWIT ¶ added in v0.2.3
LoadWIT loads a single wit.Resolve. If path is a OCI path, it pulls from the OCI registry and load WIT from the buffer. If path == "" or "-", then it reads from stdin. If the resolved path doesn’t end in ".json", it will attempt to load WIT indirectly by processing the input through wasm-tools. If forceWIT is true, it will always process input through wasm-tools.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.