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 tk3fftk #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

kadai4 tk3fftk #70

wants to merge 1 commit into from

Conversation

tk3fftk
Copy link

@tk3fftk tk3fftk commented Sep 16, 2018

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

制約

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

使い方

$ go build -o lot
$ ./lot &
$ curl localhost:8080/lot
{"result":"大凶"}

@tk3fftk tk3fftk added the Kadai4 label Sep 16, 2018
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.

None yet

1 participant