Skip to content

jonyhy96/doc-gen

Repository files navigation

doc-gen

Go Report Card License: MIT

doc-gen helps you to generate apidoc like comment

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

$ go get github.com/jonyhy96/doc-gen
$ doc-gen -h
$ doc-gen -f examples/models/user.go

$ apidoc -f ".*\\.doc$" -o apidoc // you need have your own apidoc.json first

Prerequisites

For develop

  • go ^1.10

Installing

$ go build -o doc-gen .
$ sudo mv doc-gen /usr/local/bin

Params

param required e.g.
f true -f examples/models/user.go

Coding style

CODEFMT

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • HAO YUN - Initial work - haoyun

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • nothing