Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kadai4 tk3fftk #70

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

Open
tk3fftk wants to merge 1 commit into master
base: master
Choose a base branch
Loading
from kadai4-tk3fftk
Open

kadai4 tk3fftk #70

tk3fftk wants to merge 1 commit into master from kadai4-tk3fftk

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":"大凶"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /