mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
15 lines
202 B
Go
15 lines
202 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
fmt.Fprintln(os.Stderr, "First line")
|
|
fmt.Fprintln(os.Stdout, "Ok")
|
|
time.Sleep(3 * time.Second)
|
|
fmt.Fprintln(os.Stderr, "Second line")
|
|
}
|