[GOLANG] What should I do to complete this code?

(I’m still in my first year of middle school, so there’s still a lot I don’t know.)
(And I don’t live in a country where English is the standard language.
In other words, I would appreciate it if you could understand that I am not good at English. ^^;)

this is my code

package main

import (
	"fmt"
	"math/rand"
	"time"

	keys "github.com/eiannone/keyboard"
	// "github.com/atomical/userinput" <- (This source has not been used yet due to an error.)
)


func keyboard_events() {
	keysEvents, err := keys.GetKeys(10)
	if err != nil {
		panic(err)
	}
	defer func() {
		_ = keys.Close()
	}()
	for {
		event := <-keysEvents
		if event.Err != nil {
			fmt.Println("Error!")
			fmt.Print("Error contents : ")
			panic(event.Err)
		}
		if event.Key != keys.KeyTab || event.Key != keys.KeyInsert || event.Key != keys.KeyEnd || event.Key != keys.KeyHome || event.Key != keys.KeyEnter || event.Key != keys.KeyBackspace || event.Key != keys.KeyEsc || event.Key != keys.KeyDelete || event.Key != keys.KeyF1 || event.Key != keys.KeyF2 || event.Key != keys.KeyF4 || event.Key != keys.KeyF5 || event.Key != keys.KeyF6 || event.Key != keys.KeyF7 || event.Key != keys.KeyF8 || event.Key != keys.KeyF10 || event.Key != keys.KeyF11 || event.Key != keys.KeyF12 {
			// (I need a code here, but I don't know which code to insert. 😭)
		}
	}
}

func main() {
	var (
		input_1    int           
		input_2    int           
		input_3    int           
		input_Nums [3]int        
		counts     int           
		condition  bool   = true 
		strike     int           
		ball       int           
	)

	Num := RaindomNum()
	fmt.Println(Num)

	for condition {
		fmt.Print("Enter 3 numbers : ")
		go keyboard_events()
		_, err := fmt.Scanln(&input_1, &input_2, &input_3)

		if err != nil {
			fmt.Println("ERROR!")
			panic(err)
		}

		if input_1 > 9 || input_1 < 0 {
			fmt.Println("You can enter from 0 to 9.")
			continue
		} else if input_2 > 9 || input_2 < 0 {
			fmt.Println("You can enter from 0 to 9.")
			continue
		} else if input_3 > 9 || input_3 < 0 {
			fmt.Println("You can enter from 0 to 9.")
			continue
		}

		input_Nums[0] = input_1
		input_Nums[1] = input_2
		input_Nums[2] = input_3

		condition, strike, ball = Output(input_Nums, Num)

		fmt.Printf("strike : %d, ball : %d\n", strike, ball)

		counts++

	}

	fmt.Println("Congratulations! Correct!")
	fmt.Printf("number of attempts : %d", counts)

}

func RaindomNum() [3]int {
	var a [3]int

	rand.Seed(time.Now().UnixNano())
	a[0] = rand.Intn(10)
	time.Sleep(10 / 9)
	rand.Seed(time.Now().UnixNano())
	a[1] = rand.Intn(10)
	time.Sleep(10 / 9)
	rand.Seed(time.Now().UnixNano())
	a[2] = rand.Intn(10)

	return a

}

func Output(input [3]int, Num [3]int) (bool, int, int) {
	var strike int = 0
	var ball int = 0
	var boolean bool

	for i := 0; i < 3; i++ {
		if input[i] == Num[i] {
			strike++
		} else {
			for j := 0; j < 3; j++ {
				if input[i] == Num[j] {
					ball++
					break
				}
			}
		}
	}

	if strike == 3 {
		boolean = false
	} else {
		boolean = true
	}

	return boolean, strike, ball
}

As you can see, I made a ‘number baseball’ game.
But there was a problem while coding.

What I wanted was
It was a program in which the space key was automatically entered when the key was pressed.

To solve this problem, I received a lot of sources from Github
and posted questions on Stack Overflow.
However, I didn’t get the answer I wanted, the source’s only had events that occurred when entering the keyboard, and there was no system that was automatically entered like RPA.

How can I solve this problem?