Go-Cache-API

command module
v0.0.0-...-2ceb3a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 5 Imported by: 0

README

Go-Cache-API

1. Pull the docker image :

  docker pull siddheshk02/api-dev

2. Run the image :

  docker run -p 8000:8000 api-dev

Output :

image

  1. Now head over to http://127.0.0.1:8000/ on your browser, You'll see Hello, World 👋!.

  2. /posts/:id : Go to url http://127.0.0.1:8000//posts/1 Note : you can try with any id.

    Output :

    image

    You'll get some data like this.

  3. /todos/:id : Go to url http://127.0.0.1:8000//todos/1 Note : you can try with any id.

    Output :

    image

    You'll get some data like this.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL