https://github.com/tameronline/testgo
https://github.com/tameronline/testgo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tameronline/testgo
- Owner: TamerOnLine
- License: other
- Created: 2025-02-16T16:38:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T17:05:25.000Z (over 1 year ago)
- Last Synced: 2025-10-21T14:50:29.791Z (9 months ago)
- Language: Go
- Size: 2.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# testgo
A simple Go program that prompts the user for their name and greets them.
## Screenshot
Here is a screenshot of the program in action:

## Features
- Reads user input from the console.
- Ensures the name is not empty.
- Prints a friendly greeting message.
## Prerequisites
- Install [Go](https://go.dev/dl/) (if not already installed).
## Installation & Usage
1. Clone the repository:
```sh
git clone https://github.com/TamerOnLine/testgo.git
cd testgo
```
2. Run the program without compiling:
```sh
go run main.go
```
3. Build and run the compiled binary:
```sh
go build -o testgo
./testgo
```
## Example Output
```
Enter your name: Tamer
Hello, Tamer 👋!
```
## Project Structure
```
tameronline-testgo/
├── README.md # Project documentation
├── LICENSE # License file (MIT License)
├── go.mod # Go module file
├── main.go # Main Go program
└── testgo.code-workspace # VS Code workspace file
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
## Contact
For any inquiries, reach out to [Tamer Hamad Faour](https://github.com/TamerOnLine).