Skip to content

kadai4 tk3fftk - #70

Open
tk3fftk wants to merge 1 commit into
masterfrom
kadai4-tk3fftk
Open

tk3fftk wants to merge 1 commit into
masterfrom
kadai4-tk3fftk

Conversation

@tk3fftk

@tk3fftk tk3fftk commented Sep 16, 2018

Copy link
Copy Markdown

おみくじ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.

1 participant