wasm-nats-producer-client/gen/wasi/cli/terminal-stdin/terminal-stdin.wit.go
2024-12-14 02:15:08 +01:00

25 lines
790 B
Go

// Code generated by wit-bindgen-go. DO NOT EDIT.
// Package terminalstdin represents the imported interface "wasi:cli/terminal-stdin@0.2.0".
package terminalstdin
import (
terminalinput "gitea.rebus.ninja/lore/wasm-nats-producer-client/gen/wasi/cli/terminal-input"
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// TerminalInput represents the imported type alias "wasi:cli/terminal-stdin@0.2.0#terminal-input".
//
// See [terminalinput.TerminalInput] for more information.
type TerminalInput = terminalinput.TerminalInput
// GetTerminalStdin represents the imported function "get-terminal-stdin".
//
// get-terminal-stdin: func() -> option<terminal-input>
//
//go:nosplit
func GetTerminalStdin() (result cm.Option[TerminalInput]) {
wasmimport_GetTerminalStdin(&result)
return
}