command
module
Version:
v0.0.0-...-9867eb1
Opens a new window with list of versions in this module.
Published: Apr 16, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
GoSwag-Books
Golang backend with Postgres DB
Docker Image
docker pull shiveshojha/simple-books-golang
Prerequisites
Install Go and add it to the PATH.
Steps to get started
go mod init GoSwag-Books
go mod tidy
go run main.go
To Access API Endpoints
- http://localhost:8000/swagger/index.html
Swagger UI

Get All Books [GET]

Post a Book [POST]

Update a Book [PUT]

Delete a Book [DELETE]

Docker Image Generation

sudo docker build -t go-swag-books:latest .
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag |
|
|
|
|
|
|
repository
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.