variable

command
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2019 License: GPL-2.0 Imports: 4 Imported by: 0

README

variable

This example demonstrates setting a variable in the host-application, and accessing that from inside the filter script.

Usage

Compile the script with go build ..

Then launch it to see that the value time, as accessed by the script keeps changing each time the script is evaluated:

$ ./variable
The time is 1569264364
	Yay!
Script gave result false
The time is 1569264365
	Yay!
Script gave result false
The time is 1569264366
	Yay!
Script gave result false
^C

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL