Hello,
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.
Hello,
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 , 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
Hello nathankerr,
Yes for the terminal I found and thank you for the link it is super useful
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.