mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:58:59 +01:00
21 lines
287 B
Go
21 lines
287 B
Go
|
// Copyright 2023 The Gitea Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
//go:build ignore
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"io"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
_, err := io.Copy(os.Stdout, os.Stdin)
|
||
|
if err != nil {
|
||
|
fmt.Fprintf(os.Stderr, "Error: %v", err)
|
||
|
os.Exit(1)
|
||
|
}
|
||
|
}
|