Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【課題 4】おみくじAPIを作ってみよう #43

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

nasjp
Copy link

@nasjp nasjp commented Sep 26, 2019

おみくじAPIを作ってみよう

  • JSON形式でおみくじの結果を返す
  • 正月(1/1-1/3)だけ大吉にする
  • ハンドラのテストを書いてみる

Usage

$ go get github.com/gopherdojo/dojo7/kadai4/nas/fortune
$ fortune
$ curl -s localhost:8080 | jq '.'
{
  "lack": "大吉"
}

@nasjp nasjp added the kadai4 label Sep 26, 2019
@nasjp nasjp self-assigned this Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant