package main import ( "bufio" "fmt" "os" ) func stdin() (inputs []string) { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { inputs = append(inputs, scanner.Text()) } return } // Run is a main process func Run(inputs []string) string { return fmt.Sprintln("Hello World!") } func main() { p := stdin() fmt.Println(Run(p)) }