A simple Todo List server built with Go, demonstrating basic CRUD operations using an in-memory store. This project serves as an example of how to structure a Go project, handle HTTP requests, and manipulate JSON data.
- Create new todo items.
- List all existing todo items.
- Update existing todo items.
- Delete todo items.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Go (version 1.13 or later recommended)
git clone https://github.com/yourusername/go-practice.git
cd go-practice
go mod init go-practice
go run main.go
You should see the following output indicating that the server is running:
Server is running on port 8080