package
0.2.0
Repository: https://github.com/kwkwc/gin-docs.git
Documentation: pkg.go.dev

# Functions

Add todo ### args | args | required | location | type | help | |-------|----------|----------|--------|----------| | name | true | json | string | todo name | | type | true | json | string | todo type | ### request ```json {"name": "xx", "type": "code"} ``` ### response ```json {"code": xxxx, "msg": "xxx", "data": null} ``` */.
Get todo ### description > Get todo ### args | args | required | location | type | help | |-------|----------|----------|--------|----------| | name | true | query | string | todo name | | type | false | query | string | todo type | ### request ``` http://127.0.0.1:8080/api/todo?name=xxx&type=code ``` ### response ```json {"code": xxxx, "msg": "xxx", "data": null} ``` */.