pingpong

Version, currently 0.1.01 version
  • 0.1.0latestSep 26, 2022

github.com/grokify/crystal-pingpong

Simple example shard

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  pingpong:
    github: grokify/crystal-pingpong
    version: ~> 0.1.0

Then run:

shards install

shard.yml

Crystal
1.5.1
License
MIT
Author
Grokify

Dependencies

This version declares no dependencies.

README

Crystal PingPong Example Shard

This is a simple, example shard.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      pingpong:
        github: grokify/crystal-pingpong
  2. Run shards install

Usage

require "pingpong"

pp = Pingpong::Ping.new
resp = pp.ping // "pong"

References

  1. Crystal Docs: Writing Shards
  2. Make your own Shard in Crystal language by Vitalii Elenhaupt

Contributing

  1. Fork it (https://github.com/your-github-user/pingpong/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