-
Notifications
You must be signed in to change notification settings - Fork 0
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
ビデオ一覧固定値を返すレスポンス作成 #4
base: main
Are you sure you want to change the base?
The head ref may contain hidden characters: "feature/3-\u30D3\u30C7\u30AA\u4E00\u89A7\u56FA\u5B9A\u5024\u3092\u8FD4\u3059\u30EC\u30B9\u30DD\u30F3\u30B9\u4F5C\u6210"
Conversation
sample.json
Outdated
"url": "https://di.phncdn.com/videos/201701/01/100881752/original/(m=eaf8Ggaaaa)(mh=Ap9ThlKHMLwlEKqP)12.jpg" | ||
} | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no newline at end of file ってエラーが出たりしているので、最後の一業は1行分開けるようにvscodeの設定すると良いかもです
https://qiita.com/kazuhito_nakayama/items/14c16f1b624ffd2f383c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ebe23f0 で対応
AllowedOrigins: []string{"*"}, | ||
AllowCredentials: true, | ||
}) | ||
http.Handle("/query", c.Handler(srv)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
今は全てってなっているので、限定的にしましょう
graph/schema.resolvers.go
Outdated
|
||
// !!! WARNING !!! | ||
// The code below was going to be deleted when updating resolvers. It has been copied here so you have | ||
// one last chance to move it out of harms way if you want. There are two reasons this happens: | ||
// - When renaming or deleting a resolver the old code will be put in here. You can safely delete | ||
// it when you're done. | ||
// - You have helper methods in this file. Move them out to keep these resolver files clean. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このコメントはどういったあれ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gqlgenが自動で生成したメッセージ。
不要なので以下のコミットで削除した。
ebe23f0
No description provided.