File: redirect.go

package info (click to toggle)
delve 1.24.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,092 kB
  • sloc: ansic: 111,943; sh: 169; asm: 141; makefile: 43; python: 23
file content (13 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
package main

import (
	"fmt"
	"io/ioutil"
	"os"
	"time"
)

func main() {
	buf, _ := ioutil.ReadAll(os.Stdin)
	fmt.Fprintf(os.Stdout, "%s %v\n", buf, time.Now())
}