command
module
Version:
v0.0.0-...-76fc54f
Opens a new window with list of versions in this module.
Published: Jun 9, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
User backend
Prerequisite
Install Packages
go mod tidy
Run
go run main.go serve
Development
Serve swagger UI
- Set the following environment
export SPEC_ENABLED=true
export SPEC_FILES=./docs/swagger-ui
- Restart the server
Go to http://localhost:7712/.spec to see the doc.
Regenerate swagger document
Please install go-swagger in advance.
swagger generate spec -o ./docs/swagger-ui/swagger.yaml
Linter
Please install golangci-lint in advance.
golangci-lint run
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
Package doc Worker. |
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.