We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82e49d commit 97eba6bCopy full SHA for 97eba6b
online_test.go
@@ -9,3 +9,11 @@ func Example_play() {
9
// Output:
10
// 2009-11-10 23:00:00 +0000 UTC m=+0.000000001
11
}
12
+
13
+// Show "goeval -play", with arguments values sent with the program code
14
+func Example_playWithArgs() {
15
+ goeval(`-play`, `fmt.Println(os.Args[1])`, `toto`)
16
17
+ // Output:
18
+ // toto
19
+}
0 commit comments