https://github.com/iamrishupatel/exploring-go
Within this repository, you'll find a collection of simple GoLang projects that I've built as I explore the language and its capabilities.
https://github.com/iamrishupatel/exploring-go
go go-beginner-projects go-project
Last synced: 11 months ago
JSON representation
Within this repository, you'll find a collection of simple GoLang projects that I've built as I explore the language and its capabilities.
- Host: GitHub
- URL: https://github.com/iamrishupatel/exploring-go
- Owner: iamrishupatel
- Created: 2024-04-01T15:36:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T19:11:25.000Z (about 2 years ago)
- Last Synced: 2025-04-06T04:30:07.154Z (about 1 year ago)
- Topics: go, go-beginner-projects, go-project
- Language: Go
- Homepage:
- Size: 1.48 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exploring Go
This repository contains some simple projects built for learning and practice purposes.
## Usage
- Either create a binary using `go build` as directed and run the binary file.
- Or navigate into a directory and run `go run .` to run the code without building it explicitly.
1. [**CLI Todo App**](https://github.com/iamrishupatel/exploring-go/tree/main/cli-todo)
- Navigate to the `cli-todo` directory.
- Compile the Go code using `go build` command.
- Run the compiled executable to start the CLI todo app.
```bash
./cli-todo
```
- Follow the on-screen instructions to add, remove, update, or list todo items.
2. [**Simple API Client**](https://github.com/iamrishupatel/exploring-go/tree/main/crypto-masters)
Crypto Masters is a simple client to fetch data from the web. It fetches the price of the some currencies
and displays them. It use goroutines, watchgroups and http.
- Navigate to `crypto-masters` directory
- Compile the code using `go build` comamnd
- Run the compiled executable.
```bash
./crypto-masters
```
- It should print rates of some currencies from the cex api.
3. [**Simple Web Server**](https://github.com/iamrishupatel/exploring-go/tree/main/simple-web-server)
- Navigate to `simple-web-server` directory.
- Compile the code using `go build` command.
- Run the compiled executable.
```bash
./simple-web-server
```
- Visit `http://localhost:8080` in your browser to see the server in action.
- You can add new data by sending a POST request to `http://localhost:8080/add-museum` with a JSON payload.