User interaction in GO?

Hello, :relaxed:

Can someone explain to me how to make the user in GO language?

For example in my program I would like the user to write a text, where a digit, etc.

Thank you.

I found :innocent:, in fact my problem was that I was obliged to compiled my program by the classic method because with the extension of my text editor I have a little worry.

Assuming you are wanting user input from the terminal, fmt.Scan and fmt.Scanf.

Another method was shared in Creating a simple "read number from STDIN" demo

1 Like

Hello nathankerr, :slight_smile:

Yes for the terminal I found and thank you for the link it is super useful :+1: :muscle:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.