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

Kadai4/gkoki #66

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

Conversation

yuan-h-1994
Copy link

@yuan-h-1994 yuan-h-1994 commented Jun 18, 2021

Goの初心者ですが、宜しければレビューをお願いいたします。

課題4:おみくじAPI

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

実行

  • go run main.go
  • http://localhost:8080/omikujiを開いて、以下のような内容が表示されます。
  • {"month":6,"day":18,"data":"中吉"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant