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

Add basic API endpoint for ping #7

Closed
wants to merge 1 commit into from

Conversation

MiyasakaKufu
Copy link
Owner

@MiyasakaKufu MiyasakaKufu commented Jul 30, 2024

Ref

目的

  • gin の環境構築
  • gin の簡単な使い方を知る
  • go の書き方を学ぶ

やったこと

  • go mod init github.com/MiyasakaKufu/golang-study でモジュールの準備(?)
  • go get -u github.com/gin-gonic/gin で gin を追加
  • main.go にとてもシンプルなルーティングを作成(参考: https://zenn.dev/kyuki/articles/806142fed1cc06)
  • 実行して GET できることを確認

Images

実行したよ

スクリーンショット 2024-07-30 19 48 37

GET 確認したよ

スクリーンショット 2024-07-30 19 50 37

@MiyasakaKufu MiyasakaKufu self-assigned this Jul 30, 2024
@MiyasakaKufu MiyasakaKufu marked this pull request as ready for review July 30, 2024 10:48
@MiyasakaKufu
Copy link
Owner Author

MiyasakaKufu commented Jul 30, 2024

  • お手隙の際は、第一週挑戦 #5 の内容についても確認・補足等あれば追記お願いします🙇

@MiyasakaKufu MiyasakaKufu mentioned this pull request Aug 5, 2024
1 task
@MiyasakaKufu
Copy link
Owner Author

MiyasakaKufu commented Aug 5, 2024

お手隙ではなさそうなので、こいつは一旦クローズしますね。


というのは冗談で、 #9 で正しそうなのができそうなので。

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

Successfully merging this pull request may close these issues.

1 participant