bookstore

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 4 Imported by: 0

README

bookstore

A case study project to demonstrate an online bookstore based on Golang

Generate API Documents

  • Download swaggo by using:
    $ go install github.com/swaggo/swag/cmd/swag@latest
    

Make commands

  • make first: makes project ready to run
  • make tidy: installs project dependencies
  • make vet: examines the source code and reports suspicious constructs that could be bugs or syntactical errors
  • make build: builds project and generate binary in root dir
  • make run: runs project
  • make doc: generates api docs
  • make mock: generates mock data (user and book)
  • make clean: cleans project

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
cmd
app
gen
repo
service

Jump to

Keyboard shortcuts

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