https://github.com/aveygo/golang-db-api
Simple Golang project that opens an endpoint to store key/value pairs
https://github.com/aveygo/golang-db-api
Last synced: 2 months ago
JSON representation
Simple Golang project that opens an endpoint to store key/value pairs
- Host: GitHub
- URL: https://github.com/aveygo/golang-db-api
- Owner: Aveygo
- Created: 2022-11-01T09:58:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-01T10:01:31.000Z (over 2 years ago)
- Last Synced: 2023-05-03T02:30:40.985Z (about 2 years ago)
- Language: Go
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang-DB-API
Simple Golang project that opens an endpoint to store key/value pairs
```
go run .
```Add a pair with the endpoint:
```
localhost:8080/set?key=your_key&value=your_value
```And retrieve them with:
```
localhost:8080/get?key=your_key
```