package
0.0.0-20241119031517-d78a05f52a91
Repository: https://github.com/muly/golang.git
Documentation: pkg.go.dev
# README
#demonstrating generating go server code (without main) using go-swagger
Note: once the code is generated, the main function and the handlers implementation is hand coded.
installing swagger cli
make check_install
swagger code gen server steps:
- swagger specs see: swagger.yml
- generate code: see: Makefile
- main code: see: main.go
- create object and add implementation for the handlers: see: ./api/handlers/*.go