chore: Goのバージョンを1.24にアップデート#288
Open
fujiwara-manabu-0516 wants to merge 1 commit intogo-generalize:masterfrom
Open
chore: Goのバージョンを1.24にアップデート#288fujiwara-manabu-0516 wants to merge 1 commit intogo-generalize:masterfrom
fujiwara-manabu-0516 wants to merge 1 commit intogo-generalize:masterfrom
Conversation
- go.mod/go.sum の Go バージョンを 1.24 に更新 - 実行時にnet/httpの型関連のエラーが起きるためgolang.org/x/ 系モジュールをあわせて更新 - go-easyparserで*types.Aliasのエラーが発生する問題は以下のPRで対応 - go-generalize/go-easyparser/pull/77
Member
|
@fujiwara-manabu-0516
こちら詳細を教えていただけると幸いです。 |
Author
|
@54m go1.24のアップデート後に import (
"net/http"
)
type HttpStatus struct {
ID string `firestore:"-" firestore_key:"auto"`
Status string `firestore:"status"`
}
func (s *HttpStatus) UpdateStatusCode(statusCode int) {
if statusCode == http.StatusOK {
s.Status = "OK"
return
}
s.Status = "Error"
}以下のようなエラーが発生します。 こちらにサンプルのPRを上げました。
また、 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

概要
この PR は
volcagoの Go バージョンを 1.24 に更新する変更です。Go 1.24 での実行時に発生する型解決の問題に対応するため、
golang.org/x/系モジュールも必要に応じて更新しています。変更内容
net/httpの型関連のエラーが発生するため、golang.org/x/系モジュールを更新go-easyparser側で対応済みです補足
go-easyparser/pull/77が適用されていることを前提にしていますお手数ですが、ご確認いただけますと大変助かります🙏
よろしくお願いします