Registry / utility / posener-script

posener-script

JSON →
library1.2.0gogounverified

Package script provides helper functions to write scripts in Go, inspired by bitfield/script.

go get github.com/posener/script
INSTALL
IMPORT
SIG · POSENER-SCRIPT
P
posener-script
utilitygov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

script
github.com/posener/script

Creates a stream that echoes 'Hello, world!' and prints it.

package main import ( "fmt" "github.com/posener/script" ) func main() { stream := script.Echo("Hello, world!") output, _ := stream.String() fmt.Println(output) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
posener-script — go get posener-script · libregistry