A small project that works with storing data in a file of type CSV.
The application writes data from a file to RAM and then works with it in this form. All requests are made through API and JSON data type.
- Create a new city entry
- Getting data about the city through ID
- Deleting information about the city according to the specified ID
- Update information about the population of the city for the specified id;
- Getting a list of cities for the specified region;
- Getting a list of cities for the specified district;
- Get a list of cities for the specified population range;
- Get a list of cities in the specified range of the year of foundation.
You can start the service with a specific address or leave it as default - localhost:4000.
go run ./cmd/srv