cin

Version, currently master branch1 version
  • master branchlatestJun 9, 2021

github.com/zzfup/cin

No description declared in shard.yml.

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cin:
    github: zzfup/cin
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
zhuzhenfeng.code
Target
  • cin from src/cin.cr

Dependencies

Runtime Dependencies

  • kemal*github: kemalcr/kemal

README

cin

类似go语言的gin框架

Installation

TODO: Write installation instructions here

Usage

require "cin"

r = Cin.default

def j(ctx)
  {hello: "zhuzhenfeng"}
end

r.use(JsonHandler)
r.get("/json", ->j(Cin::Context))
r.run()

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/cin/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors